Part Number Hot Search : 
LP156 V150K10 DAC080 NCP662 IRFP914 HEF405 2SC1448 005160
Product Description
Full Text Search
 

To Download STA369BWS Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  november 2010 doc id 16861 rev 4 1/89 89 STA369BWS 2.1-channel 40-watt high-e fficiency digital audio system sound terminal? features ? wide-range supply voltage, 4.5 v to 21.5 v ? three power output configurations: ? 2 channels of ternary pwm (2 x 20 w into 8 ? at 18 v) + pwm output ? 2 channels of ternary pwm (2 x 20 w into 8 ? at 18 v) + ternary stereo line-out ? 2.1 channels of binary pwm (left, right, lfe) (2 x 9 w into 4 ? +1 x 20 w into 8 ? at 18 v) ? ffx with 100-db snr and dynamic range ? scalable ffx modulation index (up to 100%) ? selectable 32- to 192-khz input sample rates ? i 2 c control with selectable device address ? digital gain/attenuation +48 db to -80 db with 0.125-db/step resolution ? soft volume update with programmable ratio ? individual channel and master gain/attenuation ? two independent drcs configurable as a dual-band anti-clipper (b 2 drc) or as independent limiters/compressors with optional global drc capability ? eq-drc for drc based on filtered signals ? dedicated lfe processing for bass boosting with 0.125-db/step resolution ? audio presets: ? 15 preset crossover filters ? 5 preset anti-clipping modes ? preset night-time listening mode ? individual channel soft/hard mute ? independent channel volume and dsp bypass ? i 2 s input data interface ? input and output channel mapping ? automatic invalid input-detect mute ? up to 8 user-programmable biquads/channel ? three coefficients banks for eq presets storing with fast recall via i 2 c interface ? extended filter dynamics +4/-4 for better sound shaping and easier filter implementation ? bass/treble tones and de-emphasis control ? selectable high-pass filter for dc blocking ? advanced am interference frequency switching and noise suppression modes ? f3x? advanced pwm modulation scheme for carrier suppression (headphone or line output) ? selectable high- or low-bandwidth noise-shaping topologies ? selectable clock input ratio ? 96-khz internal processing sample rate with quantization error noise shaping for very low cut-off frequency filters ? thermal overload and short-circuit protection embedded ? video apps: 576 x f s input mode supported ? pcb manufacturing short-circuit protection technology table 1. device summary order code package packaging STA369BWS powersso-36 epd tube STA369BWStr powersso-36 epd tape and reel powersso-36 with exposed pad down (epd) www.st.com
contents STA369BWS 2/89 doc id 16861 rev 4 contents 1 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2 pin connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.1 connection diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3 electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.1 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.2 thermal data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.3 recommended operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.4 electrical specifications for the digital section . . . . . . . . . . . . . . . . . . . . . 14 3.5 electrical specifications for the power sectio n . . . . . . . . . . . . . . . . . . . . . 15 3.6 power on/off sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4 processing data paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5i 2 c bus specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.1 communication protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.1.1 data transition or change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.1.2 start condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.1.3 stop condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.1.4 data input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.2 device addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.3 write operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5.3.1 byte write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5.3.2 multi-byte write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5.4 read operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5.4.1 current address byte read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5.4.2 current address multi-byte read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5.4.3 random address byte read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5.4.4 random address multi-byte read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 6 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
STA369BWS contents doc id 16861 rev 4 3/89 6.1 configuration registers (addr 0x00 to 0x05) . . . . . . . . . . . . . . . . . . . . . . . 26 6.1.1 configuration register a (addr 0x00) . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6.1.2 configuration register b (addr 0x01) . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 6.1.3 configuration register c (addr 0x02) . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 6.1.4 configuration register d (addr 0x03) . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 6.1.5 configuration register e (addr 0x04) . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.1.6 configuration register f (addr 0x05) . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.2 volume control registers (addr 0x06 - 0x0a) . . . . . . . . . . . . . . . . . . . . . . 44 6.2.1 mute/line output configuration register (addr 0x06) . . . . . . . . . . . . . . . . 45 6.2.2 master volume register (addr 0x07) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 6.2.3 channel 1 volume (addr 0x08) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 6.2.4 channel 2 volume (addr 0x09) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 6.2.5 channel 3 / line output volume (addr 0x0a) . . . . . . . . . . . . . . . . . . . . . . 46 6.3 audio preset registers (addr 0x0b and 0x0c) . . . . . . . . . . . . . . . . . . . . . 47 6.3.1 audio preset register 1 (addr 0x0b) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 6.3.2 audio preset register 2 (addr 0x0c) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 6.4 channel configuration registers (addr 0x0e - 0x10) . . . . . . . . . . . . . . . . . 49 6.5 tone control register (addr 0x11) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.6 dynamic control registers (addr 0x12 - 0x15) . . . . . . . . . . . . . . . . . . . . . 51 6.6.1 limiter 1 attack/release rate (addr 0x12) . . . . . . . . . . . . . . . . . . . . . . . . 51 6.6.2 limiter 1 attack/release threshold (addr 0x13) . . . . . . . . . . . . . . . . . . . . 51 6.6.3 limiter 2 attack/release rate (addr 0x14) . . . . . . . . . . . . . . . . . . . . . . . . 52 6.6.4 limiter 2 attack/release threshold (addr 0x15) . . . . . . . . . . . . . . . . . . . . 52 6.6.5 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6.6.6 limiter 1 extended attack threshold (addr 0x32) . . . . . . . . . . . . . . . . . . 56 6.6.7 limiter 1 extended release threshold (addr 0x33) . . . . . . . . . . . . . . . . . 57 6.6.8 limiter 2 extended attack threshold (addr 0x34) . . . . . . . . . . . . . . . . . . 57 6.6.9 limiter 2 extended release threshold (addr 0x35) . . . . . . . . . . . . . . . . . 57 6.7 user-defined coefficient control registers (addr 0x16 - 0x26) . . . . . . . . . . 57 6.7.1 coefficient address register (addr 0x16) . . . . . . . . . . . . . . . . . . . . . . . . 57 6.7.2 coefficient b1 data register bits (addr 0x17 - 0x19) . . . . . . . . . . . . . . . . 57 6.7.3 coefficient b2 data register bits (addr 0x1a - 0x1c) . . . . . . . . . . . . . . . 58 6.7.4 coefficient a1 data register bits (addr 0x1d - 0x1f) . . . . . . . . . . . . . . . 58 6.7.5 coefficient a2 data register bits (addr 0x20 - 0x22) . . . . . . . . . . . . . . . . 58 6.7.6 coefficient b0 data register bits (addr 0x23 - 0x25) . . . . . . . . . . . . . . . . 59 6.7.7 coefficient read/write control register (addr 0x26) . . . . . . . . . . . . . . . . . 59
contents STA369BWS 4/89 doc id 16861 rev 4 6.7.8 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 6.8 variable max power correction registers (addr 0x27 - 0x28) . . . . . . . . . . 64 6.9 distortion compensation registers (addr 0x 29 - 0x2a) . . . . . . . . . . . . . . . 64 6.10 fault detect recovery constant registers (addr 0x2b - 0x2c) . . . . . . . . . . 64 6.11 device status register (addr 0x2d) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 6.12 eq coefficients and drc configuration register (addr 0x31) . . . . . . . . . . 66 6.13 extended configuration register (addr 0x36) . . . . . . . . . . . . . . . . . . . . . . 67 6.13.1 dual-band drc (b 2 drc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 6.13.2 eq drc mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 6.14 soft volume configuration registers (addr 0x37 - 0x38) . . . . . . . . . . . . . . 70 6.15 drc rms filter coefficients (addr 0x39-0x3e) . . . . . . . . . . . . . . . . . . . . . 71 6.16 extra volume resolution configuration registers (addr 0x3f) . . . . . . . . . . 72 6.17 short-circuit protection mode registers shok (addr 0x46) . . . . . . . . . . . 73 6.18 quantization error noise correction (addr 0x 48) . . . . . . . . . . . . . . . . . . . . 74 6.19 extended coefficient range up to +4/-4 (addr 0x49, 0x4a) . . . . . . . . . . . . 75 6.20 miscellaneous registers (addr 0x4b, 0x4c) . . . . . . . . . . . . . . . . . . . . . . . 76 6.20.1 misc1 (addr 0x4b) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 6.20.2 misc2 (addr 0x4c) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.21 global drc after b2drc (gdrc) bit (addr 0x4d, bit d0) . . . . . . . . . . . . 79 6.22 bad pwm detection registers (addr 0x4d, 0x4e, 0x4f) . . . . . . . . . . . . . . 80 6.23 coefficient ram crc protection (addr 0x60- 0x6c) . . . . . . . . . . . . . . . . . 80 6.23.1 bqchke registers (addr 0x60 - 0x62) . . . . . . . . . . . . . . . . . . . . . . . . . 80 6.23.2 xcchke registers (addr 0x63 - 0x65) . . . . . . . . . . . . . . . . . . . . . . . . . . 81 6.23.3 bqchkr registers (addr 0x66 - 0x68) . . . . . . . . . . . . . . . . . . . . . . . . . 81 6.23.4 xcchkr registers (addr 0x69 - 0x6b) . . . . . . . . . . . . . . . . . . . . . . . . . 81 6.23.5 chkctrl register (addr 0x6c) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 6.23.6 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 7 applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 7.1 applications schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 7.2 pll filter circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 7.3 typical output configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 8 package thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
STA369BWS contents doc id 16861 rev 4 5/89 9 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 10 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
list of figures STA369BWS 6/89 doc id 16861 rev 4 list of figures figure 1. block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 figure 2. pin connection powersso-36 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 3. test circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 4. power-on sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 5. power-off sequence for pop-free turn-off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 7 figure 6. left and right processing, section 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 figure 7. left and right processing, section 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 figure 8. write mode sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 figure 9. read mode sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 10. ocfg = 00 (default value) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 figure 11. ocfg = 01 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 figure 12. ocfg = 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 figure 13. ocfg = 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 figure 14. output mapping scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 figure 15. 2.0 channels (ocfg = 00) pwm slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 figure 16. 2.1 channels (ocfg = 01) pwm slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 figure 17. 2.1 channels (ocfg = 10) pwm slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 figure 18. basic limiter and volume flow diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 19. b 2 drc scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 figure 20. eqdrc scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 figure 21. extra resolution volume scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 figure 22. short-circuit detection timing diagram (no short detected) . . . . . . . . . . . . . . . . . . . . . . . . 74 figure 23. biquad filter structure with quantization-error noise shaping . . . . . . . . . . . . . . . . . . . . . . . 75 figure 24. external active filter with connection for f3x output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 figure 25. alternate function for int_line pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 figure 26. global drc after b2drc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 figure 27. applications circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 figure 28. output configuration for stereo btl mode (r l = 8 ?) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 figure 29. powersso-36 power derating curve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 figure 30. powersso-36 epd outline drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
STA369BWS list of tables doc id 16861 rev 4 7/89 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 table 3. absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 table 4. thermal data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 table 5. recommended operating condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 table 6. electrical specifications - digital section (t amb = 25 c) . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 table 7. electrical specifications - power section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 table 8. register summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 9. master clock select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 10. input sampling rates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 11. internal interpolation ratio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 12. ir bit settings as a function of input sample rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 13. thermal warning recovery bypass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 14. thermal warning adjustment bypass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 15. fault detect recovery bypass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 16. serial audio input interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 17. serial data first bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 18. support serial audio input formats for msb-first (saifb = 0) . . . . . . . . . . . . . . . . . . . . . . . 29 table 19. supported serial audio input formats for lsb-first (saifb = 1) . . . . . . . . . . . . . . . . . . . . . 29 table 20. delay serial clock enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 21. channel input mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 22. ffx power output mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 23. ffx compensating pulse size bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 24. compensating pulse size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 25. overcurrent warning bypass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 26. high-pass filter bypass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 27. de-emphasis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 28. dsp bypass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 29. postscale link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 30. biquad coefficient link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 31. dynamic range compression/anti-clipping bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 32. zero-detect mute enable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 33. submix mode enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 34. max power correction variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 35. max power correction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 36. noise-shaper bandwidth selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 37. am mode enable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 38. pwm speed mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 39. distortion compensation variable enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 40. zero-crossing volume enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 41. soft volume update enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 42. output configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 43. output configuration engine selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 44. invalid input detect mute enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 45. binary output mode clock loss detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 46. lrck double trigger protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 47. auto eapd on clock loss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 48. ic power down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
list of tables STA369BWS 8/89 doc id 16861 rev 4 table 49. external amplifier power down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 table 50. line output configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 51. master volume offset as a function of mvol[7:0] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 52. channel volume as a function of cxvol[7:0] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 53. audio preset gain compression/limiters selection for amgc[3:2] = 00. . . . . . . . . . . . . . . . 47 table 54. am interference frequency switching bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 55. audio preset am switching frequency selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 56. bass management crossover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 57. bass management crossover frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 58. tone control bypass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 59. eq bypass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 60. volume bypass register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 61. binary output enable registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 62. channel limiter mapping as a function of cxls bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 63. channel output mapping as a function of cxom bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 64. tone control boost/cut as a function of btc and ttc bits . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 65. limiter attack rate vs lxa bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 66. limiter release rate vs lxr bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 67. limiter attack threshold vs lxat bits (ac mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 68. limiter release threshold vs lxrt bits (ac mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 69. limiter attack threshold vs lxat bits (drc mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 70. limiter release threshold vs lxrt bits (drc mode). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 71. ram block for biquads, mixing, scaling, bass management. . . . . . . . . . . . . . . . . . . . . . . . 61 table 72. status register bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 73. eq ram select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 74. anti clipping and drc preset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 75. anti-clipping selection for amgc[3:2] = 01 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 76. bit ps48db description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 77. bit xar1 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 78. bit xar2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 79. bit bq5 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 80. bit bq6 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 81. bit bq7 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 82. bit svupe description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 83. bit svdwe description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 84. bits cxvr description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 85. bits vresen and vrestg description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 86. coefficients extended range configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 87. f3x bits configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 88. external amplifier enabler configuration bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 8 table 89. pndlsl bits configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 90. powersso-36 epd dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 91. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
STA369BWS description doc id 16861 rev 4 9/89 1 description the STA369BWS is an integrated solution of digital audio processing, digital amplifier controls and power output stage to create a high-power single-chip ffx digital amplifier with high-quality and high-efficiency. three channe ls of ffx processing are provided. the ffx processor implements the ternary, binary and binary differential proc essing capabilities of the full ffx processor. the STA369BWS is part of the sound terminal? family that provides full digital audio streaming to the speakers and offers cost effectiveness, low power dissipation and sound enrichment. the power section consists of four independent half-bridges. these can be configured via digital control to operate in different modes. for example, 2.1 channels can be provided by two half-bridges and a single full-bridge, supplying up to 2 x 9 w + 1 x 20 w of output power or two channels can be provided by two full-bridges, supplying up to 2 x 20 w of output power. the ic can also be configured as 2.1 channel s with 2 x 20 w supplied by the device plus a drive for an external ffx power amplifier, such as sta533wf or sta515w. also provided in the STA369BWS are a full assortment of digital processing features. this includes up to 8 programmable biquads (eq) per channel. special digital signal processing techniques are available to manage low-frequency quantization noise in filters with very low cut-off frequencies. the coefficient range -4 to +4 allows easy high-shelf filter usage and better sound shaping. available presets enable a time-to-market advantage by substantially reducing the amount of software development needed for functions such as audio preset volume loudness, preset volume curves and preset eq settings. there are also new advanced am radio interference reduction modes. dual-band drc dynamically equalizes the system to provide linear frequency speaker response regardless of output power level. this feature separates the audio frequency band into two sub-bands independently processed to provide better sound clarity and to avoid speaker saturation. the serial audio data input interface accepts all possible formats, including the popular i 2 s format. the high-quality conversion from pcm audio to ffx pwm switching provides over 100 db of snr and of dynamic range. the new f3x? modulation is capable of digitally filtering the pwm carrier to simplify external filtering requirements, am interference and emi. f3x? is implemented in the auxiliary output of STA369BWS an d it is specifically designed for application where a simple op-amp can be used to dr ive an auxiliary headphone line.
description STA369BWS 10/89 doc id 16861 rev 4 figure 1. block diagram protection current/thermal logic regulators bias power control ffx pll volume control channel 1a channel 1b channel 2a channel 2b i 2 s interface power digital dsp i 2 c
STA369BWS pin connections doc id 16861 rev 4 11/89 2 pin connections 2.1 connection diagram figure 2. pin connection powersso-36 (top view) 2.2 pin description 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 vdd_dig gnd_dig scl sda int_line reset sdi lrcki bicki xti gnd_pll filter_pll vdd_pll pwrdn gnd_dig vdd_dig twarn / out4a eapd / out4b gnd_sub sa test_mode vss vcc_reg out2b gnd2 vcc2 out2a out1b vcc1 gnd1 out1a gnd_reg vdd config out3b / ffx3b out3a / ffx3a d05au1638 ep, exposed pad (device ground) table 2. pin description pin type name description 1 gnd gnd_sub substrate ground 2i sa i 2 c select address (pull-down) 3 i test_mode this pin must be connected to ground (pull-down) 4 i/o vss internal reference at v cc - 3.3 v 5 i/o vcc_reg internal v cc reference 6 o out2b output half-bridge channel 2b 7 gnd gnd2 power negative supply 8 power vcc2 power positive supply 9 o out2a output half-bridge channel 2a 10 o out1b output half-bridge channel 1b
pin connections STA369BWS 12/89 doc id 16861 rev 4 11 power vcc1 power positive supply 12 gnd gnd1 power negative supply 13 o out1a output half-bridge channel 1a 14 gnd gnd_reg internal ground reference 15 power vdd internal 3.3 v reference voltage 16 i config parallel mode command 17 o out3b / ffx3b pwm out channel 3b / external bridge driver 18 o out3a / ffx3a pwm out channel 3a / external bridge driver 19 o eapd / out4b power down for external bridge / pwm out channel 4b 20 i/o twarn / out4a thermal warning from external bridge (pull-up when input) / pwm out channel 4a 21 power vdd_dig digital supply voltage 22 gnd gnd_dig digital ground 23 i pwrdn power down (pull-up) 24 power vdd_pll positive supply for pll 25 i filter_pll connection to pll filter 26 gnd gnd_pll negative supply for pll 27 i xti pll input clock 28 i bicki i 2 s serial clock 29 i lrcki i 2 s left/right clock 30 i sdi i 2 s serial data channels 1 and 2 31 i reset reset (pull-up) 32 o int_line fault interrupt 33 i/o sda i 2 c serial data 34 i scl i 2 c serial clock 35 gnd gnd_dig digital ground 36 power vdd_dig digital supply voltage - - ep exposed pad for pcb heatsink, to be connected to gnd table 2. pin description (continued) pin type name description
STA369BWS electrical specifications doc id 16861 rev 4 13/89 3 electrical specifications 3.1 absolute maximum ratings warning: stresses beyond those listed in table 3 above may cause permanent damage to the device. these are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated under ?recommended operating conditions? are not implied. exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. in the real application, power supplies with nominal values rated within the recommended operating conditions, may experience some rising beyond the maximum operating conditions for a short time when no or very low current is sinked (amplifier in mute state). in this case the reliability of the device is guaranteed, provided that the absolute maximum ratings are not exceeded. 3.2 thermal data table 3. absolute maximum ratings symbol parameter min typ max unit v cc power supply voltage (pins vccx) -0.3 - 24 v v dd digital supply voltage (pins vdd_dig) -0.3 - 4.0 v v dd pll supply voltage (pin vdd_pll) -0.3 - 4.0 v t op operating junction temperature -20 - 150 c t stg storage temperature -40 - 150 c table 4. thermal data parameter min typ max unit r th j-case thermal resistance junction-case (thermal pad) - - 1.5 c/w t th-sdj thermal shut-down junction temperature - 150 - c t th-w thermal warning temperature - 130 - c t th-sdh thermal shut-down hysteresis - 20 - c r th j-amb thermal resistance junction-ambient (1) 1. see chapter 8: package thermal characteristics on page 85 for details. -24-c/w
electrical specifications STA369BWS 14/89 doc id 16861 rev 4 3.3 recommended operating conditions 3.4 electrical specifications for the digital section table 5. recommended operating condition symbol parameter min typ max unit v cc power supply voltage (vccxa, vccxb) 4.5 - 21.5 v v dd_dig digital supply voltage 2.7 3.3 3.6 v v dd_pll pll supply voltage 2.7 3.3 3.6 v t amb ambient temperature -20 - 70 c table 6. electrical specifications - digital section (t amb = 25 c) symbol parameter conditions min typ max unit i il low level input current without pull-up/down device vi = 0 v --1 a i ih high level input current without pull-up/down device vi = vdd_dig = 3.6 v --1a v il low level input voltage - - - 0.2 * vdd_dig v v ih high level input voltage - 0.8 * vdd_dig --v v ol low level output voltage iol = 2 ma - 0.4 * vdd_dig v v oh high level output voltage ioh = 2 ma 0.8 * vdd_dig --v r pu equivalent pull-up/down resistance --50-k ?
STA369BWS electrical specifications doc id 16861 rev 4 15/89 3.5 electrical specificatio ns for the power section the specifications given in this section are valid for the operating conditions: v cc =18v, f=1khz, f sw = 384 khz, t amb = 25 c and r l = 8 ? , unless otherwise specified. table 7. electrical specifications - power section symbol parameter conditions min typ max unit po output power btl thd = 1% - 16 - w thd = 10% - 20 - output power se thd = 1%,r l = 4 ? -7- w thd = 10%,r l = 4 ? -9- r dson power p-channel or n-channel mosfet l d = 0.75 a - - 250 m ? gp power p-channel rdson matching l d = 0.75 a - 100 - % gn power n-channel rdson matching l d = 0.75 a - 100 - % idss power p-channel/n-channel leakage v cc = 20 v - - 1 a t r rise time resistive load, see figure 3 below - - 10 ns t f fall time - - 10 ns i vcc supply current from v cc in power down pwrdn = 0 - 0.3 - a supply current from v cc in operation pwrdn = 1 - 15 - ma i vdd supply current ffx processing internal clock = 49.152 mhz -55-ma i lim overcurrent limit (1) 2.2 3.0 - a i scp short -circuit protection r l = 0 ? 2.7 3.6 - a v uvp undervoltage protection - - - 4.3 v t min output minimum pulse width no load 20 40 60 ns dr dynamic range - - 100 - db snr signal to noise ratio, ternary mode a-weighted - 100 - db signal to noise ratio binary mode - - 90 - db thd+n total harmonic distortion + noise ffx stereo mode, po = 1 w f=1khz -0.2-% x ta l k crosstalk ffx stereo mode, <5 khz one channel driven at 1 w, other channel measured -80-db peak efficiency, ffx mode po = 2 x 20 w into 8 ? -90- % peak efficiency, binary modes po = 2 x 9 w into 4 ? + 1 x 20 w into 8 ? -87- 1. limit the current if overcurrent warning detect ad justment bypass is enabled (register bit confc.ocrb on page 32 ). when disabled refer to i scp .
electrical specifications STA369BWS 16/89 doc id 16861 rev 4 figure 3. test circuit dtr dtf vcc (3/4)vcc (1/2)vcc (1/4)vcc t outxy low current dead time = max(dtr, dtf) +vcc duty cycle = 50% inxy outxy gnd vdc = vcc/2 rload = 8 ? + -
STA369BWS electrical specifications doc id 16861 rev 4 17/89 3.6 power on/off sequence figure 4. power-on sequence note: the definition of a stable clock is when f max - f min < 1 mhz. section : serial data interface on page 28 gives information on setting up the i 2 s interface. figure 5. power-off sequence for pop-free turn-off don?t care don?t care cmd0 cmd1 cmd2 vcc vdd_dig xti reset i 2 c pwdn tr tc don?t care don?t care cmd0 cmd1 cmd2 vcc vdd_dig xti reset i 2 c pwdn tr tc don?t care don?t care don?t care cmd0 cmd1 cmd2 vcc vdd_dig xti reset i 2 c pwdn tr tc don?t care don?t care cmd0 cmd1 cmd2 vcc vdd_dig xti reset i 2 c pwdn tr tc don?t care don?t care cmd0 cmd1 cmd2 vcc vdd_dig xti reset i 2 c pwdn tr tc don?t care note: no specific vcc and vdd_dig turn ? on sequence is required tr = minimum time between xti master clock stable and reset removal: 1 ms tc = minimum time between reset removal and i 2 c program, sequence start: 1ms don?t care vcc vdd_dig xti don?t care soft mute reg. 0x07 data 0xfe soft eapd reg. 0x05 bit 7 = 0 don?t care fe don?t care don?t care don?t care vcc vdd_dig xti don?t care soft mute reg. 0x07 data 0xfe soft eapd reg. 0x05 bit 7 = 0 don?t care fe don?t care don?t care note: no specific vcc and vdd_dig turn ? off sequence is required
processing data paths STA369BWS 18/89 doc id 16861 rev 4 4 processing data paths figure 6 and figure 7 below show the data processing paths inside STA369BWS. the whole processing chain is composed of two consecutive sections. in the first one, dual-channel processing is implemented and in the second section each channel is fed into the post-mixing block either to generate a third channel (typically used in 2.1 output configuration and with crossover filters enabled) or to have the channels processed by the dual-band drc block (2.0 output configuration with crossover filters used to define the cut-off frequency of the two bands). the first section, figure 6 , begins with a 2x oversampling fir filter providing 2 * f s audio processing. then a selectable high-pass filter removes the dc level (enabled if hpb = 0). the left and right channel processing paths can include up to 8 filters, depending on the selected configuration (bits bql, bq5, bq6, bq7 and xo[3:0]). by default, four user programmable, independent filters per channel are enabled, plus the preconfigured de-emphasis, bass and treble controls (bql = 0, bq5 = 0, bq6 = 0, bq7 = 0). if the coefficient sets for the two channels are linked (bql = 1) it is possible to use the de-emphasis, bass and treble filters in a user defined configuration (provided the relevant bqx bits are set). in this case both channels use the same processing coefficients and can have up to seven filters each. if bql = 0 the bqx bits are ignored and the fifth, sixth and seventh filters are configured as de-emphasis, bass and treble controls, respectively. figure 6. left and right processing, section 1 moreover, the common 8th filter can be available on both channels provided the predefined crossover frequencies are not used, xo[3:0 ] = 0, and the dual-b and drc is not used. in the second section, figure 7 , mixing and crossover filters are available. if b 2 drc is not enabled they are fully user-programmable and allow the generation of a third channel (2.1 outputs). alternatively, in mode b 2 drc, these blocks are used to split the sub-band and define the cut-off frequencies of the two bands. a prescaler and a final postscaler allow full control over the signal dynamics before and after the filtering stages. a mixer function is also available. from i2s input interface prescale biquad #1 biquad #2 biquad #3 biquad #4 if hpb=0 user defined filters if dspb=0 and c1eqbp=0 x2 fir over l sampling frequency=fs sampling frequency=2xfs from i2s input interface prescale hi-pass filter hi-pass filter biquad #1 biquad #2 biquad #3 biquad #4 de-emph. if demp=0 x2 fir over sampling l sampling frequency=fs sampling frequency=2xfs bass treble if c1tcb=0 btc: bass boost/cut ttc: treble boost/cut prescale hi-pass filter biquad #1 biquad #2 biquad #3 biquad #4 if hpb=0 user defined filters if dspb=0 and c2eqbp=0 x2 fir over l prescale hi-pass filter biquad #1 biquad #2 biquad #3 biquad #4 de-emph. if demp=0 x2 fir over sampling r bass treble if c2tcb=0 btc: bass boost/cut ttc: treble boost/cut if bq5=1 and bql=1 biquad #5 if bq6=1 and bql=1 biquad #6 if bq7=1 and bql=1 biquad #7 if bq5=1 and bql=1 biquad #5 if bq6=1 and bql=1 biquad #6 if bq7=1 and bql=1 biquad #7 from i2s input interface prescale biquad #1 biquad #2 biquad #3 biquad #4 if hpb=0 user defined filters if dspb=0 and c1eqbp=0 x2 fir over l sampling frequency=fs sampling frequency=2xfs from i2s input interface prescale hi-pass filter hi-pass filter hi-pass filter hi-pass filter biquad #1 biquad #2 biquad #3 biquad #4 de-emph. if demp=0 x2 fir over sampling l sampling frequency=fs sampling frequency=2xfs bass treble if c1tcb=0 btc: bass boost/cut ttc: treble boost/cut prescale hi-pass filter biquad #1 biquad #2 biquad #3 biquad #4 if hpb=0 user defined filters if dspb=0 and c2eqbp=0 x2 fir over l prescale hi-pass filter biquad #1 biquad #2 biquad #3 biquad #4 de-emph. if demp=0 x2 fir over sampling r bass treble if c2tcb=0 btc: bass boost/cut ttc: treble boost/cut if bq5=1 and bql=1 biquad #5 if bq6=1 and bql=1 biquad #6 if bq7=1 and bql=1 biquad #7 if bq5=1 and bql=1 biquad #5 if bq6=1 and bql=1 biquad #6 if bq7=1 and bql=1 biquad #7
STA369BWS processing data paths doc id 16861 rev 4 19/89 in all the available configurations high-pass filtering with a 2-hz cut-off frequency is applied before the postscale block. this filter cannot be disabled. figure 7. left and right processing, section 2 dual-band drc enabled dual-band drc disabled crossover frequency determined by xo setting user defined if xo=0000 r l + + + c1mx2 c2mx1 c2mx2 c3mx1 c3mx2 c1mx1 hi-pass xo filter hi-pass xo filter user-defined mix coefficients post scale post scale user defined if xo=0000 r l + + + c1mx2= 0x00000 c2mx1= 0x000000 c2mx2= 0x7fffff c3mx1= 0x40000 c3mx2= 0x400000 c1mx1= 0x7fffff b 2 drc hi-pass filter user-defined mix coefficients post scale post scale vol and limiter drc1 drc1 drc2 ch1 volume ch2 volume ch3 volume b 2 drc hi-pass filter + + b 2 drc enabled drc2 ch3 volume - + - + post scale post scale dc cut filter dc cut filter crossover frequency determined by xo setting user defined if xo=0000 r l + + + c1mx2 c2mx1 c2mx2 c3mx1 c3mx2 c1mx1 hi-pass xo filter hi-pass xo filter user-defined mix coefficients post scale post scale user defined if xo=0000 r l + + + c1mx2= 0x00000 c2mx1= 0x000000 c2mx2= 0x7fffff c3mx1= 0x40000 c3mx2= 0x400000 c1mx1= 0x7fffff b 2 drc hi-pass filter user-defined mix coefficients post scale post scale vol and limiter drc1 drc1 drc2 ch1 volume ch2 volume ch3 volume b 2 drc hi-pass filter + + b 2 drc enabled drc2 ch3 volume - + - + - + - + post scale post scale dc cut filter dc cut filter crossover frequency determined by xo setting user defined if xo=0000 r l + + + c1mx2 c2mx1 c2mx2 c3mx1 c3mx2 c1mx1 hi-pass xo filter hi-pass xo filter lo-pass xo filter user-defined mix coefficients vol and limiter vol and limiter vol and limiter post scale post scale post scale user defined if xo=0000 r l + + + c1mx2 c2mx1 c2mx2 c3mx1 c3mx2 c1mx1 channel ? biquad #5 -------------- hi-pass xo filter user-defined mix coefficients vol and limiter vol and limiter vol and limiter post scale post scale post scale channel ? biquad #5 -------------- hi-pass xo filter channel 3 biquad -------------- low-pass xo filter b 2 drc disabled vol and limiter vol and limiter post scale post scale post scale dc cutt filter dc cutt filter dc cutt filter crossover frequency determined by xo setting user defined if xo=0000 r l + + + c1mx2 c2mx1 c2mx2 c3mx1 c3mx2 c1mx1 hi-pass xo filter hi-pass xo filter lo-pass xo filter user-defined mix coefficients vol and limiter vol and limiter vol and limiter post scale post scale post scale user defined if xo=0000 r l + + + c1mx2 c2mx1 c2mx2 c3mx1 c3mx2 c1mx1 channel ? biquad #5 -------------- hi-pass xo filter user-defined mix coefficients vol and limiter vol and limiter vol and limiter post scale post scale post scale channel ? biquad #5 -------------- hi-pass xo filter channel 3 biquad -------------- low-pass xo filter b 2 drc disabled vol and limiter vol and limiter post scale post scale post scale dc cutt filter dc cutt filter dc cutt filter #8 #8
i 2 c bus specification STA369BWS 20/89 doc id 16861 rev 4 5 i 2 c bus specification the STA369BWS supports the i 2 c protocol via the input ports scl and sda_in (master to slave) and the output port sda_out (slave to master). this protocol defines any device that sends data on to the bus as a transmitter and any device that reads the data as a receiver. the device that controls the data transfer is known as the master and the other as the slave. the master always starts the transfer and provides the serial clock for synchronization. the STA369BWS is always a slave device in all of its communications. it supports up to 400 kb/s (fast-mode bit rate). for correct operation of the i 2 c interface ensure that the master clock generated by the pll has a frequency at least 10 times higher than the frequency of the applied scl clock. 5.1 communication protocol 5.1.1 data transition or change data changes on the sda line must only occur when the clock scl is low. a sda transition while the clock is high is used to identify a start or stop condition. 5.1.2 start condition start is identified by a high to low transition of the data bus, sda, while the clock, scl, is stable in the high state. a start condition must precede any command for data transfer. 5.1.3 stop condition stop is identified by low to high transition of sda while scl is stable in the high state. a stop condition terminates communication between STA369BWS and the bus master. 5.1.4 data input during the data input the STA369BWS samples the sda signal on the rising edge of scl. for correct device operation the sda signal must be stable during the rising edge of the clock and the data can change only when the scl line is low. 5.2 device addressing to start communication between the master and the STA369BWS, the master must initiate with a start condition. following this, the master sends onto the sda line 8-bits (msb first) corresponding to the device select address and read or write mode bit. the seven most significant bits are the device address identifiers, corresponding to the i 2 c bus definition. in the STA369BWS the i 2 c interface has two device addresses depending on the sa pin configuration, 0x38 when sa = 0, and 0x3a when sa = 1. the eighth bit (lsb) identifies a read or write operation (r/w); this is set to 1 for read and to 0 for write. after a start condition the STA369BWS identifies the device address on the sda bus and if a match is found, acknowledges the identification during the 9th bit time frame. the byte following the device identification is the address of a device register.
STA369BWS i 2 c bus specification doc id 16861 rev 4 21/89 5.3 write operation following the start condition the master sends a device select code with the rw bit set to 0. the STA369BWS acknowledges this and then waits for the byte of internal address. after receiving the internal byte address the STA369BWS again responds with an acknowledgement. 5.3.1 byte write in the byte write mode the master sends one data byte, this is acknowledged by the STA369BWS. the master then terminates the transfer by generating a stop condition. 5.3.2 multi-byte write the multi-byte write modes can start from any internal address. the master generating a stop condition terminates the transfer. figure 8. write mode sequence 5.4 read operation 5.4.1 current address byte read following the start condition the master sends a device select code with the rw bit set to 1. the STA369BWS acknowledges this and then responds by sending one byte of data. the master then terminates the transfer by generating a stop condition. 5.4.2 current address multi-byte read the multi-byte read modes can start from any internal address. sequential data bytes are read from sequential addresses within the STA369BWS. the master acknowledges each data byte read and then generates a stop condition terminating the transfer. 5.4.3 random ad dress byte read following the start condition the master sends a device select code with the rw bit set to 0. the STA369BWS acknowledges this and then the master writes the internal address byte. after receiving, the internal byte address the STA369BWS again responds with an acknowledgement. the master then initiates another start condition and sends the device select code with the rw bit set to 1. the STA369BWS acknowledges this and then responds by sending one byte of data. the master then terminates the transfer by generating a stop condition. dev-addr ack start rw sub-addr ack data in ack stop byte write dev-addr ack start rw sub-addr ack data in ack stop multibyte write data in ack dev-addr ack start rw sub-addr ack data in ack stop byte write dev-addr ack start rw sub-addr ack data in ack stop multibyte write data in ack
i 2 c bus specification STA369BWS 22/89 doc id 16861 rev 4 5.4.4 random address multi-byte read the multi-byte read modes could start from any internal address. sequential data bytes are read from sequential addresses within the STA369BWS. the master acknowledges each data byte read and then generates a stop condition terminating the transfer. figure 9. read mode sequence dev-addr ack start rw data no ack stop current address read dev-addr ack start rw sub-addr ack dev-addr ack stop random address read data no ack start rw dev-addr ack start data ack data ack stop sequential current read data no ack dev-addr ack start rw sub-addr ack dev-addr ack sequential random read data ack start rw data ack no ack stop data rw= high dev-addr ack start rw data no ack stop current address read dev-addr ack start rw sub-addr ack dev-addr ack stop random address read data no ack start rw dev-addr ack start data ack data ack stop sequential current read data no ack dev-addr ack start rw sub-addr ack dev-addr ack sequential random read data ack start rw data ack no ack stop data rw= high
STA369BWS register description doc id 16861 rev 4 23/89 6 register description note: addresses exceeding the maximum address number must not be written. table 8. register summary addr name d7 d6 d5 d4 d3 d2 d1 d0 0x00 confa fdrb twab twrb ir1 ir0 mcs2 mcs1 mcs0 0x01 confb c2im c1im dscke saifb sai3 sai2 sai1 sai0 0x02 confc ocrb reserved csz3 csz2 csz1 csz0 om1 om0 0x03 confd sme zde drc bql psl dspb demp hpb 0x04 confe sve zce dccv pwms ame nsbw mpc mpcv 0x05 conff eapd pwdn ecle ldte bcle ide ocfg1 ocfg0 0x06 muteloc loc1 loc0 reserved reserved c3m c2m c1m reserved 0x07 mvol mvol[7:0] 0x08 c1vol c1vol[7:0] 0x09 c2vol c2vol[7:0] 0x0a c3vol c3vol[7:0] 0x0b auto1 reserved reserved amgc[1:0] reserved reserved reserved reserved 0x0c auto2 xo3 xo2 xo1 xo0 amam2 amam1 amam0 amame 0x0d auto3 reserved 0x0e c1cfg c1om1 c1om0 c1ls1 c1ls0 c1bo c1vbp c1eqbp c1tcb 0x0f c2cfg c2om1 c2om0 c2ls1 c2ls0 c2bo c2vbp c2eqbp c2tcb 0x10 c3cfg c3om1 c3om0 c3ls1 c3ls0 c3bo c3vbp reserved reserved 0x11 tone ttc3 ttc2 ttc1 ttc0 btc3 btc2 btc1 btc0 0x12 l1ar l1a3 l1a2 l1a1 l1a0 l1r3 l1r2 l1r1 l1r0 0x13 l1atrt l1at3 l1at2 l1at1 l1at0 l1rt3 l1rt2 l1rt1 l1rt0 0x14 l2ar l2a3 l2a2 l2a1 l2a0 l2r3 l2r2 l2r1 l2r0 0x15 l2atrt l2at3 l2at2 l2at1 l2at0 l2rt3 l2rt2 l2rt1 l2rt0 0x16 cfaddr reserved reserved cfa[5:0] 0x17 b1cf1 c1b[23:16] 0x18 b1cf2 c1b[15:8] 0x19 b1cf3 c1b[7:0] 0x1a b2cf1 c2b[23:16] 0x1b b2cf2 c2b[15:8] 0x1c b2cf3 c2b[7:0] 0x1d a1cf1 c3b[23:16] 0x1e a1cf2 c3b[15:8]
register description STA369BWS 24/89 doc id 16861 rev 4 0x1f a1cf3 c3b[7:0] 0x20 a2cf1 c4b[23:16] 0x21 a2cf2 c4b[15:8] 0x22 a2cf3 c4b[7:0] 0x23 b0cf1 c5b[23:16] 0x24 b0cf2 c5b[15:8] 0x25 b0cf3 c5b[7:0] 0x26 cfud reserved ra r1 wa w1 0x27 mpcc1 mpcc[15:8] 0x28 mpcc2 mpcc[7:0] 0x29 dcc1 dcc[15:8] 0x2a dcc2 dcc[7:0] 0x2b fdrc1 fdrc[15:8] 0x2c fdrc2 fdrc[7:0] 0x2d status pllul fault uvfault reserved ocfault ocwarn tfault twarn 0x2e reserved reserved 0x2f reserved reserved 0x30 reserved reserved 0x31 eqcfg xob reserved reserved amgc[3:2] reserved sel[1:0] 0x32 eath1 eathen1 eath1[6:0] 0x33 erth1 erthen1 erth1[6:0] 0x34 eath2 eathen2 eath2[6:0] 0x35 erth2 erthen2 erth2[6:0] 0x36 confx mdrc[1:0] ps48db xar1 xar2 bq5 bq6 bq7 0x37 svca reserved reserved svupe svup[4:0] 0x38 svcb reserved reserved svdwe svdw[4:0] 0x39 rms0a r_c0[23:16] 0x3a rms0b r_c0[15:8] 0x3b rms0c r_c0[7:0] 0x3c rms1a r_c1[23:16] 0x3d rms1b r_c1[15:8] 0x3e rms1c r_c1[7:0] 0x3f evolres vresen vrestg c3vr[1:0] c2vr[1:0] c1vr[1:0] 0x40 reserved reserved 0x41 reserved reserved table 8. register summary (continued) addr name d7 d6 d5 d4 d3 d2 d1 d0
STA369BWS register description doc id 16861 rev 4 25/89 0x42 reserved reserved 0x43 reserved reserved 0x44 reserved reserved 0x45 reserved reserved 0x46 shok gnd1a gnd1b gnd2a gnd2b vcc1a vcc1b vcc2a vcc2b 0x47 reserved reserved 0x48 nshape nshxen nshb7en nshb6en nshb5en nshb4en nshb3en nshb2en nshb1en 0x49 cxtb4b1 cxtb4[1:0] cxtb3[1:0] cxtb2[1:0] cxtb1[1:0] 0x4a cxtb7b5 reserved reserved cxtb7[1:0] cxtb6[1:0] cxtb5[1:0] 0x4b misc1 rpdnen nshhpen bridgoff f3xen[1:0] cpwmen reserved boost 0x4c misc2 lpdp lpd lpde pndlsl[2:0] reserved shen 0x4d bpth bpth[5:0] reserved gdrc 0x4e badpwm bp4b bp4a bp3b bp3a bp2b bp2a bp1b bp1a 0x4f bptim bptim[7:0] 0x50 reserved reserved 0x51 reserved reserved 0x52 reserved reserved 0x53 reserved reserved 0x54 reserved reserved 0x55 reserved reserved 0x56 reserved reserved 0x60 bqchke0 bqchke[7:0] 0x61 bqchke1 bqchke[15:8] 0x62 bqchke2 bqchke[23:16] 0x63 xcchke0 xcchke[7:0] 0x64 xcchke1 xcchke[15:8] 0x65 xcchke2 xcchke[23:16] 0x66 bqchkr0 bqchkr[7:0] 0x67 bqchkr1 bqchkr[15:8] 0x68 bqchkr2 bqchkr[23:16] 0x69 xcchkr0 xcchkr[7:0] 0x6a xcchkr1 xcchkr[15:8] 0x6b xcchkr2 xcchkr[23:16] 0x6c chkctrl xcauto xcres xccmp xcgo bcauto bcres bccmp bcgo table 8. register summary (continued) addr name d7 d6 d5 d4 d3 d2 d1 d0
register description STA369BWS 26/89 doc id 16861 rev 4 6.1 configuration registers (addr 0x00 to 0x05) 6.1.1 configuration register a (addr 0x00) master clock select the STA369BWS supports sample rates of 32 khz, 44.1 khz, 48 khz, 88.2 khz, 96 khz, 176.4 khz, and 192 khz. therefore the internal clock is: z 32.768 mhz for 32 khz z 45.1584 mhz for 44.1 khz, 88.2 khz, and 176.4 khz z 49.152 mhz for 48 khz, 96 khz, and 192 khz the external clock frequency provided to the xti pin must be a multiple of the input sample frequency (f s ). the relationship between the input clock and the input sample rate is determined by both the mcsx and the ir (input rate) register bits. the mcsx bits determine the pll factor generating the internal clock and the ir bit determines the oversampling ratio used internally. interpolation ratio select d7 d6 d5 d4 d3 d2 d1 d0 fdrb twab twrb ir1 ir0 mcs2 mcs1 mcs0 01100011 table 9. master clock select bit r/w rst name description 0r/w1 mcs0 selects the ratio between the input i 2 s sample frequency and the input clock. 1r/w1 mcs1 2r/w0 mcs2 table 10. input sampling rates input sample rate fs (khz) ir mcs[2:0] 101 100 011 010 001 000 32, 44.1, 48 00 576 * fs 128 * fs 256 * fs 384 * fs 512 * fs 768 * fs 88.2, 96 01 na 64 * fs 128 * fs 192 * fs 256 * fs 384 * fs 176.4, 192 1x na 32 * fs 64 * fs 96 * fs 128 * fs 192 * fs table 11. internal interpolation ratio bit r/w rst name description 4:3 r/w 00 ir [1:0] selects internal interpolation ratio based on input i 2 s sample frequency
STA369BWS register description doc id 16861 rev 4 27/89 the STA369BWS has variable interpolation (oversampling) settings such that internal processing and ffx output rates remain consis tent. the first processing block interpolates by either 2-times or 1-time (pass-through) or provides a 2-times downsample. the oversampling ratio of this interpolation is determined by the ir bits. thermal warning recovery bypass this bit sets the behavior of the ic after a thermal warning disappears. if twrb is enabled the device automatically restores the normal gain and output limiting is no longer active. if it is disabled the device keeps the output limit active until a reset is asserted or until twrb set to 0. this bit works in conjunction with twab thermal warning adjustment bypass bit twab enables automatic output limiting when a power stage thermal warning condition persists for longer than 400ms. when the feature is active (twab = 0) the desired output limiting, set through bit twocl (-3 db by default) at address 0x37 in the ram coefficients bank, is applied. the way t he limiting acts after the warning condition disappears is controlled by bit twrb. table 12. ir bit settings as a function of input sample rate input sample rate fs (khz) ir 1st stage interpolation ratio 32 00 2-times oversampling 44.1 00 2-times oversampling 48 00 2-times oversampling 88.2 01 pass-through 96 01 pass-through 176.4 10 2-times downsampling 192 10 2-times downsampling table 13. thermal warning recovery bypass bit r/w rst name description 5r/w1 twrb 0: thermal warning recovery enabled 1: thermal warning recovery disabled table 14. thermal warning adjustment bypass bit r/w rst name description 6r/w1 twab 0: thermal warning adjustment enabled 1: thermal warning adjustment disabled
register description STA369BWS 28/89 doc id 16861 rev 4 fault detect recovery bypass the on-chip power block provides feedback to the digital controller which is used to indicate a fault condition (either overcurrent or thermal). when fault is asserted the power control block attempts a recovery from the fault by asserting the 3-state output, holding it for period of time in the range of 0.1 ms to 1 second, as defined by the fault-detect recovery constant register (fdrc registers 0x2b-0x2c), then toggling it back to normal condition. this sequence is repeated as long as the fault indication exists. this feature is enabled by default but can be bypassed by setting the fdrb cont rol bit to 1. the fault condition is also asserted by a low-state pulse of the normally high int_line output pin. 6.1.2 configuration register b (addr 0x01) serial audio input interface format serial data interface the STA369BWS audio serial input interfaces with standard digital audio components and accepts a number of serial data formats. sta3 69bws always acts as slave when receiving audio input from standard digital audio components. serial data for two channels is provided using three inputs: left/right clock lrcki, serial clock bicki, and serial data sdi. bits sai and bit saifb are used to specify the serial data format. the default serial data format is i 2 s, msb first. available formats are shown in the tables and figure that follow. serial data first bit table 15. fault detect recovery bypass bit r/w rst name description 7 r/w 0 fdrb 0: fault detect recovery enabled 1: fault detect recovery disabled d7 d6 d5 d4 d3 d2 d1 d0 c2im c1im dscke saifb sai3 sai2 sai1 sai0 10000000 table 16. serial audio input interface bit r/w rst name description 0r/w0 sai0 determines the interface format of the input serial digital audio interface. 1r/w0 sai1 2r/w0 sai2 3r/w0 sai3 table 17. serial data first bit saifb format 0 msb-first 1 lsb-first
STA369BWS register description doc id 16861 rev 4 29/89 table 18. support serial audio input formats for msb-first (saifb = 0) bicki sai [3:0] saifb interface format 32 * fs 0000 0 i 2 s 15-bit data 0001 0 left/right-justified 16-bit data 48 * fs 0000 0 i 2 s 16 to 23-bit data 0001 0 left-justified 16 to 24-bit data 0010 0 right-justified 24-bit data 0110 0 right-justified 20-bit data 1010 0 right-justified 18-bit data 1110 0 right-justified 16-bit data 64 * fs 0000 0 i 2 s 16 to 24-bit data 0001 0 left-justified 16 to 24-bit data 0010 0 right-justified 24-bit data 0110 0 right-justified 20-bit data 1010 0 right-justified 18-bit data 1110 0 right-justified 16-bit data table 19. supported serial audio input formats for lsb-first (saifb = 1) bicki sai [3:0] saifb interface format 32 * fs 1100 1 i 2 s 15-bit data 1110 1 left/right-justified 16-bit data 48 * fs 0100 1 i 2 s 23-bit data 0100 1 i 2 s 20-bit data 1000 1 i 2 s 18-bit data 1100 1 lsb first i 2 s 16-bit data 0001 1 left-justified 24-bit data 0101 1 left-justified 20-bit data 1001 1 left-justified 18-bit data 1101 1 left-justified 16-bit data 0010 1 right-justified 24-bit data 0110 1 right-justified 20-bit data 1010 1 right-justified 18-bit data 1110 1 right-justified 16-bit data
register description STA369BWS 30/89 doc id 16861 rev 4 to make the STA369BWS work properly, the serial audio interface lrcki clock must be synchronous to the pll output clock. it means that: ? n-4< = (frequency of pll clock) / (f requency of lrcki) = < n+4 cycles, where n depends on the settings in table 12 on page 27 . ? the pll must be locked. if these two conditions are not met, and ide bit (register 0x05, bit 2) is set to 1, the STA369BWS immediately mutes the i 2 s pcm data out (provided to the processing block) and it freezes any active processing task. clock desyncronization can happen during STA369BWS operation because of source switching or tv channel change. to avoid audio side effects, like click or pop noise, it is strongly recommended to complete the following actions: 1. soft volume change 2. i 2 c read /write instructions while the serial audio in terface and the internal pll are still synchronous. delay serial clock enable 64 * fs 0000 1 i 2 s 24-bit data 0100 1 i 2 s 20-bit data 1000 1 i 2 s 18-bit data 1100 1 lsb first i 2 s 16-bit data 0001 1 left-justified 24-bit data 0101 1 left-justified 20-bit data 1001 1 left-justified 18-bit data 1101 1 left-justified 16-bit data 0010 1 right-justified 24-bit data 0110 1 right-justified 20-bit data 1010 1 right-justified 18-bit data 1110 1 right-justified 16-bit data table 20. delay serial clock enable bit r/w rst name description 5 r/w 0 dscke 0: no serial clock delay 1: serial clock delay by 1 co re clock cycle to tolerate anomalies in some i 2 s master devices table 19. supported serial audio input forma ts for lsb-first (saifb = 1) (continued) bicki sai [3:0] saifb interface format
STA369BWS register description doc id 16861 rev 4 31/89 channel input mapping each channel received via i 2 s can be mapped to any internal processing channel via the channel input mapping regi sters. this allows for flexibility in processing. the default settings of these registers maps each i 2 s input channel to its corresponding processing channel. 6.1.3 configuration register c (addr 0x02) ffx power output mode the ffx power output mode selects how the ffx output timing is configured. different power devices use different output modes. ffx compensating pulse size register table 21. channel input mapping bit r/w rst name description 6r/w0 c1im 0: processing channel 1 receives left i 2 s input 1: processing channel 1 receives right i 2 s input 7r/w1 c2im 0: processing channel 2 receives left i 2 s input 1: processing channel 2 receives right i 2 s input d7 d6 d5 d4 d3 d2 d1 d0 ocrb reserved csz3 csz2 csz1 csz0 om1 om0 10010111 table 22. ffx power output mode bit r/w rst name description 0 r/w 1 om0 selects configuration of ffx output: 00: drop compensation 01: discrete output stage: tapered compensation 10: full-power mode 11: variable drop compensation (cszx bits) 1r/w1 om1 table 23. ffx compensating pulse size bits bit r/w rst name description 2r/w1 csz0 when om[1,0] = 11, this register determines the size of the ffx compensating pulse from 0 clock ticks to 15 clock periods. 3r/w1 csz1 4r/w1 csz2 5r/w0 csz3
register description STA369BWS 32/89 doc id 16861 rev 4 overcurrent warning adjustment bypass the ocrb is used to indicate how STA369BWS behaves when an overcurrent warning condition occurs. if ocrb = 0 and the overcurrent condition happens, the power control block forces an adjustment to the modulation limit (default is -3 db) in an attempt to eliminate the overcurrent warning condition. once the overcurrent warning clipping adjustment is applied, it remains in this state until reset is applied or ocrb is set to 1. the level of adjustment can be changed via the twocl (thermal warning/overcurrent limit) setting at address 0x37 of the user defined coefficient ram ( section 6.7.7 on page 59 ). the ocrb can be enabled while the output bridge is already on. 6.1.4 configuration register d (addr 0x03) high-pass filter bypass the STA369BWS features an internal digital high-pass filter for the purpose of ac coupling. the purpose of this filter is to prevent dc si gnals from passing through a ffx amplifier. dc signals can cause speaker damage. when hpb = 0, this filter is enabled. table 24. compensating pulse size csz[3:0] compensating pulse size 0000 0 ns (0 tick) compensating pulse size 0001 20 ns (1 tick) clock period compensating pulse size ?? 1111 300 ns (15 tick) clock period compensating pulse size table 25. overcurrent warning bypass bit r/w rst name description 7 r/w 1 ocrb 0: overcurrent warning adjustment enabled 1: overcurrent warning adjustment disabled d7 d6 d5 d4 d3 d2 d1 d0 sme zde drc bql psl dspb demp hpb 01000000 table 26. high-pass filter bypass bit r/w rst name description 0 r/w 0 hpb 1: bypass internal ac coupling digital high-pass filter
STA369BWS register description doc id 16861 rev 4 33/89 de-emphasis dsp bypass setting the dspb bit bypasses th e eq function of the STA369BWS. postscale link postscale functionality can be used for power-supply error correction. for multi-channel applications running off the same power-supply, the postscale values can be linked to the value of channel 1 for ease of use and update the values faster. biquad coefficient link for ease of use, all channels can use the biquad coefficients loaded into the channel-1 coefficient ram space by setting the bql bit to 1. therefore, any eq updates only have to be performed once. dynamic range compression/anti-clipping bit table 27. de-emphasis bit r/w rst name description 1r/w0 demp 0: no de-emphasis 1: enable de-emphasis on all channels table 28. dsp bypass bit r/w rst name description 2 r/w 0 dspb 0: normal operation 1: bypass of biquad and bass/treble functions table 29. postscale link bit r/w rst name description 3r/w0 psl 0: each channel uses individual postscale value 1: each channel uses channel 1 postscale value table 30. biquad coefficient link bit r/w rst name description 4r/w0 bql 0: each channel uses coefficient values 1: each channel uses channel 1 coefficient values table 31. dynamic range compression/anti-clipping bit bit r/w rst name description 5 r/w 0 drc 0: limiters act in anti-clipping mode 1: limiters act in dynamic range compression mode
register description STA369BWS 34/89 doc id 16861 rev 4 both limiters can be used in one of two ways, anti-clipping or dynamic range compression. when used in anti-clipping mode the limiter threshold values are constant and dependent on the limiter settings. in dynamic range compression mode the limiter threshold values vary with the volume settings allowing a nighttime listening mode that provides a reduction in the dynamic range regardless of the volume level. zero-detect mute enable setting the zde bit enables the zero-detect automatic mute. the zero-detect circuit looks at the data for each processing channel at the output of the crossover (bass management) filter. if any channel receives 2048 consecutive zero value samples (regardless of fs) then that individual channel is muted if this function is enabled. submix mode enable 6.1.5 configuration register e (addr 0x04) max power correction variable max power correction table 32. zero-detect mute enable bit r/w rst name description 6r/w1 zde 0: automatic zero-detect mute disabled 1: automatic zero-detect mute enabled table 33. submix mode enable bit r/w rst name description 7r/w0 sme 0: submix into left/right disabled 1: submix into left/right enabled d7 d6 d5 d4 d3 d2 d1 d0 sve zce dccv pwms ame nsbw mpc mpcv 11000010 table 34. max power correction variable bit r/w rst name description 0r/w0 mpcv 0: use standard mpc coefficient 1: use mpcc bits for mpc coefficient table 35. max power correction bit r/w rst name description 1r/w1 mpc 0: function disabled 1: enables power bridge correction for thd reduction near maximum power output.
STA369BWS register description doc id 16861 rev 4 35/89 setting the mpc bit turns on special processing that corrects the STA369BWS power device at high power. this mode should lower the thd+n of a full ffx system at maximum power output and slightly below. if enabled, mpc is operational in all output modes except tapered (om[1,0] = 01) and binary. when ocfg = 00, mpc has no effect on channels 3 and 4, the line-out channels. noise-shaper bandwidth selection am mode enable STA369BWS features a ffx processing mode that minimizes the amount of noise generated in frequency range of am radio. this mode is intended for use when ffx is operating in a device with an am tuner active . the snr of the ffx processing is reduced to approximately 83 db in this mode, which is still greater than the snr of am radio. pwm speed mode distortion compensation variable enable table 36. noise-shaper bandwidth selection bit r/w rst name description 2 r/w 0 nsbw 1: third-order ns 0: fourth-order ns table 37. am mode enable bit r/w rst name description 3r/w0 ame 0: normal ffx operation. 1: am reduction mode ffx operation table 38. pwm speed mode bit r/w rst name description 4r/w0 pwms 0: normal speed (384 khz) all channels 1: odd speed (341.3 khz) all channels table 39. distortion compensation variable enable bit r/w rst name description 5 r/w 0 dccv 0: use preset dc coefficient 1: use dcc coefficient
register description STA369BWS 36/89 doc id 16861 rev 4 zero-crossing volume enable the zce bit enables zero-crossing volume adjustments. when volume is adjusted on digital zero-crossings no clicks are audible. soft volume update enable 6.1.6 configuration re gister f (addr 0x05) output configuration table 40. zero-crossing volume enable bit r/w rst name description 6r/w1 zce 1: volume adjustments only occur at digital zero- crossings 0: volume adjustments occur immediately table 41. soft volume update enable bit r/w rst name description 7 r/w 1 sve 1: volume adjustments ramp according to svup/svdw settings 0: volume adjustments occur immediately d7 d6 d5 d4 d3 d2 d1 d0 eapd pwdn ecle ldte bcle ide ocfg1 ocfg0 01011100 table 42. output configuration bit r/w rst name description 0 r/w 0 ocfg0 selects the output configuration 1 r/w 0 ocfg1
STA369BWS register description doc id 16861 rev 4 37/89 note: to the left of the arrow is the processing channel. when using channel output mapping, any of the three processing channel outputs can be used for any of the three inputs. figure 10. ocfg = 00 (default value) table 43. output configuration engine selection ocfg[1:0] output configuration config pin 00 2 channel (full-bridge) power, 2 channel data-out: 1a/1b 1a/1b 2a/2b 2a/2b lineout1 3a/3b lineout2 4a/4b line out configuration determined by loc register 0 01 2 (half-bridge), 1(full-bridge) on-board power: 1a 1a binary 0 2a 1b binary 90 3a/3b 2a/2b binary 45 1a/b 3a/b binary 0 2a/b 4a/b binary 90 0 10 2 channel (full-bridge) power, 1 channel ffx: 1a/1b 1a/1b 2a/2b 2a/2b 3a/3b 3a/3b eapdext and twarnext active 0 11 1 channel mono-parallel: 3a 1a/1b w/ c3bo 45 3b 2a/2b w/ c3bo 45 1a/1b 3a/3b 2a/2b 4a/4b 1 half bridge half bridge half bridge half bridge out1a out1b out2a out2b channel 2 channel 1 lpf lineout1 out3b lpf lineout2 out4b out4a out3a half bridge half bridge half bridge half bridge out1a out1b out2a out2b channel 2 channel 1 lpf lineout1 out3b lpf lineout2 out4b out4a out3a
register description STA369BWS 38/89 doc id 16861 rev 4 figure 11. ocfg = 01 figure 12. ocfg = 10 figure 13. ocfg = 11 the STA369BWS can be configured to support different output configurations. for each pwm output channel a pwm slot is defined. a pwm slot is always 1 / (8 * fs) seconds length. the pwm slot define the maximum extension for pwm rise and fall edge, that is, rising edge as far as the falling edge cannot range outside pwm slot boundaries. half bridge half bridge half bridge half bridge out1a out1b out2a out2b channel 3 channel 1 channel 2 half bridge half bridge half bridge half bridge out1a out1b out2a out2b channel 3 channel 1 channel 2 half bridge half bridge half bridge half bridge out1a out1b out2a out2b channel 2 channel 1 power device out3b out3a eapd channel 3 half bridge half bridge half bridge half bridge out1a out1b out2a out2b channel 2 channel 1 power device out3b out3a eapd channel 3 half bridge half bridge half bridge half bridge out1a out1b out2a out2b channel 3 out3b out4b out4a out3a channel 1 channel 2 half bridge half bridge half bridge half bridge out1a out1b out2a out2b channel 3 out3b out4b out4a out3a channel 1 channel 2
STA369BWS register description doc id 16861 rev 4 39/89 figure 14. output mapping scheme for each configuration the pwm signals from the digital driver are mapped in different ways to the power stage: ffx ? modulator remap ffx1a ffx1 b ffx2 a ffx 2b out1a out1b out2a out2b power bridge out1a out1b out2a out2b ffx3 a ffx3b ffx4 a ffx 4b out3a out3b out4a out4b ffx ? modulator remap ffx1a ffx1 b ffx2 a ffx 2b out1a out1b out2a out2b power bridge out1a out1b out2a out2b ffx3 a ffx3b ffx4 a ffx 4b out3a out3b out4a out4b ffx ? modulator remap ffx1a ffx1 b ffx2 a ffx 2b out1a out1b out2a out2b power bridge out1a out1b out2a out2b ffx3 a ffx3b ffx4 a ffx 4b out3a out3b out4a out4b ffx ? modulator remap ffx1a ffx1 b ffx2 a ffx 2b out1a out1b out2a out2b power bridge out1a out1b out2a out2b ffx3 a ffx3b ffx4 a ffx ? modulator remap ffx1a ffx1 b ffx2 a ffx 2b out1a out1b out2a out2b power bridge out1a out1b out2a out2b ffx3 a ffx3b ffx4 a ffx 4b out3a out3b out4a out4b ffx ? modulator remap ffx1a ffx1 b ffx2 a ffx 2b out1a out1b out2a out2b power bridge out1a out1b out2a out2b ffx3 a ffx3b ffx4 a ffx 4b out3a out3b out4a out4b
register description STA369BWS 40/89 doc id 16861 rev 4 2.0 channels, two full-bridges (ocfg = 00) mapping: z ffx1a -> out1a z ffx1b -> out1b z ffx2a -> out2a z ffx2b -> out2b z ffx3a -> out3a z ffx3b -> out3b z ffx4a -> out4a z ffx4b -> out4b default modulation: z ffx1a/1b configured as ternary z ffx2a/2b configured as ternary z ffx3a/3b configured as lineout ternary z ffx4a/4b configured as lineout ternary on channel 3 line out (loc bits = 00) the same data as channel 1 processing is sent. on channel 4 line out (loc bits = 00) the same data as channel 2 processing is sent. in this configuration, volume control or eq have no effect on channels 3 and 4. in this configuration the pwm slot phase is the following as shown in figure 15 . figure 15. 2.0 channels (ocfg = 00) pwm slots out1a out1b out2a out2b out3a out3b out4a out4b out1a out1b out2a out2b out3a out3b out4a out4b
STA369BWS register description doc id 16861 rev 4 41/89 2.1 channels, two half-bridges + one full-bridge (ocfg = 01) mapping: z ffx1a -> out1a z ffx2a -> out1b z ffx3a -> out2a z ffx3b -> out2b z ffx1a -> out3a z ffx1b -> out3b z ffx2a -> out4a z ffx2b -> out4b modulation: z ffx1a/1b configured as binary z ffx2a/2b configured as binary z ffx3a/3b configured as binary z ffx4a/4b configured as binary in this configuration, channel 3 has full control (volume, eq, etc?). on out3/out4 channels the channel 1 and channel 2 pwm are replicated. in this configuration the pwm slot phase is the following as shown in figure 16 . figure 16. 2.1 channels (ocfg = 01) pwm slots out1a out2a out2b out3a out3b out1b out4a out4b out1a out2a out2b out3a out3b out1b out4a out4b out1a out2a out2b out3a out3b out1b out4a out4b out1a out2a out2b out3a out3b out1b out1a out2a out2b out3a out3b out1b out4a out4b out1a out2a out2b out3a out3b out1b out4a out4b
register description STA369BWS 42/89 doc id 16861 rev 4 2.1 channels, two full-bridges + one external full-bridge (ocfg = 10) mapping: z ffx1a -> out1a z ffx1b -> out1b z ffx2a -> out2a z ffx2b -> out2b z ffx3a -> out3a z ffx3b -> out3b z eapd -> out4a z twarn -> out4b default modulation: z ffx1a/1b configured as ternary z ffx2a/2b configured as ternary z ffx3a/3b configured as ternary z ffx4a/4b is not used in this configuration, channel 3 has full control (volume, eq, etc?). on out4 channel the external bridge control signals are muxed. in this configuration the pwm slot phase is the following as shown in figure 17 . figure 17. 2.1 channels (ocfg = 10) pwm slots out1a out1b out2a out2b out3a out3b out1a out1b out2a out2b out3a out3b out1a out1b out2a out2b out3a out3b out1a out1b out2a out2b out3a out3b
STA369BWS register description doc id 16861 rev 4 43/89 invalid input detect mute enable setting the ide bit enables this function, which looks at the input i 2 s data and automatically mutes if the signals are perceived as invalid. binary output mode clock loss detection detects loss of input mclk in bina ry mode and will outpu t 50% duty cycle. lrck double trigger protection ldte, when enabled, prevents double trigger of lrclk on instable i2s input. auto eapd on clock loss when active, issues a power device power down signal (eapd) on clock loss detection. ic power down table 44. invalid input detect mute enable bit r/w rst name description 2r/w1 ide 0: disables the automatic invalid input detect mute 1: enables the automatic invalid input detect mute table 45. binary output mode clock loss detection bit r/w rst name description 3r/w1 bcle 0: binary output mode clock loss detection disabled 1: binary output mode clock loss detection enable table 46. lrck double trigger protection bit r/w rst name description 4r/w1 ldte 0: lrclk double trigger protection disabled 1: lrclk double trigger protection enabled table 47. auto eapd on clock loss bit r/w rst name description 5r/w0 ecle 0: auto eapd on clock loss not enabled 1: auto eapd on clock loss table 48. ic power down bit r/w rst name description 6r/w1 pwdn 0: ic power down low-power condition 1: ic normal operation
register description STA369BWS 44/89 doc id 16861 rev 4 the pwdn register is used to place the ic in a low-power state. when pwdn is written as 0, the output begins a soft-mute. after the mute condition is reached, eapd is asserted to power down the power-stage, then the master clock to all internal hardware expect the i 2 c block is gated. this places the ic in a very low power consumption state. external amplifier power down the eapd register directly disables/enables the internal power circuitry. when eapd = 0, the internal power section is placed in a low-power state (disabled). this register also controls the ffx4b / eapd output pin when ocfg = 10. 6.2 volume control regi sters (addr 0x06 - 0x0a) the volume structure of the STA369BWS consists of individual volume registers for each channel and a master volume register that provides an offset to each channels volume setting. the individual channel volumes are adjustable in 0.5 db steps from +48 db to -80 db. as an example if c3vol = 0x00 or +48 db and mvol = 0x18 or -12 db, then the total gain for channel 3 = +36 db. the channel mutes provide a ?soft mute? with the volume ramping down to mute in 4096 samples from the maximum volume setting at the internal processing rate (approximately 96 khz). a ?hard (instantaneous) mute? can be obtained by programming a value of 0xff (255) in any channel volume register. when volume offsets are provided via the master volume register any channel whose total volume is less than -80 db is muted. all changes in volume take place at zero-crossings when zce = 1 ( configuration register e (addr 0x04) on page 34 ) on a per channel basis as this creates the smoothest possible volume transitions. when zce = 0, volume updates occur immediately. table 49. external amplifier power down bit r/w rst name description 7r/w0 eapd 0: external power stage power down active 1: normal operation
STA369BWS register description doc id 16861 rev 4 45/89 6.2.1 mute/line output confi guration register (addr 0x06) line output is only active when ocfg = 00. in this case loc determines the line output configuration. the source of the line output is always the channel 1 and 2 inputs. 6.2.2 master volume register (addr 0x07) 6.2.3 channel 1 volume (addr 0x08) 6.2.4 channel 2 volume (addr 0x09) d7 d6 d5 d4 d3 d2 d1 d0 loc1 loc0 reserved reserved c3m c2m c1m reserved 00000000 table 50. line output configuration loc[1:0] line output configuration 00 line output fixed - no volume, no eq 01 line output variable - channel 3 volume effects line output, no eq 10 line output variable with eq - channel 3 volume effects line output d7 d6 d5 d4 d3 d2 d1 d0 mvol7 mvol6 mvol5 mvol4 mvol3 mvol2 mvol1 mvol0 11111111 table 51. master volume offset as a function of mvol[7:0] mvol[7:0] volume offset from channel value 00000000 (0x00) 0 db 00000001 (0x01) -0.5 db 00000010 (0x02) -1 db ?? 01001100 (0x4c) -38 db ?? 11111110 (0xfe) -127.5 db 11111111 (0xff) default mute, not to be used during operation d7 d6 d5 d4 d3 d2 d1 d0 c1vol7 c1vol6 c1vol5 c1vol4 c1vol3 c1vol2 c1vol1 c1vol0 01100000 d7 d6 d5 d4 d3 d2 d1 d0 c2vol7 c2vol6 c2vol5 c2vol4 c2vol3 c2vol2 c2vol1 c2vol0 01100000
register description STA369BWS 46/89 doc id 16861 rev 4 6.2.5 channel 3 / line out put volume (addr 0x0a) d7 d6 d5 d4 d3 d2 d1 d0 c3vol7 c3vol6 c3vol5 c3vol4 c3vol3 c3vol2 c3vol1 c3vol0 01100000 table 52. channel volume as a function of cxvol[7:0] cxvol[7:0] volume 00000000 (0x00) +48 db 00000001 (0x01) +47.5 db 00000010 (0x02) +47 db ?? 01011111 (0x5f) +0.5 db 01100000 (0x60) 0 db 01100001 (0x61) -0.5 db ?? 11010111 (0xd7) -59.5 db 11011000 (0xd8) -60 db 11011001 (0xd9) -61 db 11011010 (0xda) -62 db ?? 11101100 (0xec) -80 db 11101101 (0xed) hard channel mute ?? 11111111 (0xff) hard channel mute
STA369BWS register description doc id 16861 rev 4 47/89 6.3 audio preset register s (addr 0x0b and 0x0c) 6.3.1 audio preset r egister 1 (addr 0x0b) using amgc[3:0] bits, attack and release thresholds and rates are automatically configured to properly fit application specific configurations. amgc[3:2] is defined in eq coefficients and drc configuration register (addr 0x31) on page 66 . the amgc[1:0] bits behave in two different ways depending on the value of amgc[3:2]. when this value is 00 then bits amgc[1:0] are defined below in ta b l e 5 3 . 6.3.2 audio preset r egister 2 (addr 0x0c) am interference frequency switching d7 d6 d5 d4 d3 d2 d1 d0 reserved reserved amgc[1] amgc[0] reserved reserved reserved reserved 10000000 table 53. audio preset gain compression/limiters selection for amgc[3:2] = 00 amgc[1:0] mode 00 user programmable gc 01 ac no clipping 2.1 10 ac limited clipping (10%) 2.1 11 drc night-time listening mode 2.1 d7 d6 d5 d4 d3 d2 d1 d0 xo3 xo2 xo1 xo0 amam2 amam1 amam0 amame 00000000 table 54. am interference frequency switching bits bit r/w rst name description 0 r/w 0 amame audio preset am enable 0: switching frequency determined by pwms setting 1: switching frequency determined by amam settings table 55. audio preset am switching frequency selection amam[2:0] 48 khz/96 khz input fs 44.1 khz/88.2 khz input fs 000 0.535 mhz - 0.720 mhz 0.535 mhz - 0.670 mhz 001 0.721 mhz - 0.900 mhz 0.671 mhz - 0.800 mhz 010 0.901 mhz - 1.100 mhz 0.801 mhz - 1.000 mhz 011 1.101 mhz - 1.300 mhz 1.001 mhz - 1.180 mhz 100 1.301 mhz - 1.480 mhz 1.181 mhz - 1.340 mhz
register description STA369BWS 48/89 doc id 16861 rev 4 bass management crossover 101 1.481 mhz - 1.600 mhz 1.341 mhz - 1.500 mhz 110 1.601 mhz - 1.700 mhz 1.501 mhz - 1.700 mhz table 56. bass management crossover bit r/w rst name description 4r/w0 xo0 selects the bass-management crossover frequency. a 1st-order hign-pass filter (channels 1 and 2) or a 2nd-order low-pass filter (channel 3) at the selected frequency is performed. 5r/w0 xo1 6r/w0 xo2 7r/w0 xo3 table 57. bass management crossover frequency xo[3:0] crossover frequency 0000 user-defined ( section 6.7.8 on page 59 ) 0001 80 hz 0010 100 hz 0011 120 hz 0100 140 hz 0101 160 hz 0110 180 hz 0111 200 hz 1000 220 hz 1001 240 hz 1010 260 hz 1011 280 hz 1100 300 hz 1101 320 hz 1110 340 hz 1111 360 hz table 55. audio preset am switching frequency selection (continued) amam[2:0] 48 khz/96 khz input fs 44.1 khz/88.2 khz input fs
STA369BWS register description doc id 16861 rev 4 49/89 6.4 channel configuration registers (addr 0x0e - 0x10) tone control bypass tone control (bass/treble) can be bypassed on a per channel basis for channels 1 and 2. eq bypass eq control can be bypassed on a per channel basis for channels 1 and 2. if eq control is bypassed on a given channel the prescale and all filters (high-pass, biquads, de-emphasis, bass, treble in any combination) are bypassed for that channel. volume bypass each channel contains an individual channel volume bypass. if a particular channel has volume bypassed via the cxvbp = 1 register then only the channel volume setting for that particular channel affects the volume setting, the master volume setting has no effect on that channel. d7 d6 d5 d4 d3 d2 d1 d0 c1om1 c1om0 c1ls1 c1ls0 c1bo c1vpb c1eqbp c1tcb 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c2om1 c2om0 c2ls1 c2ls0 c2bo c2vpb c2eqbp c2tcb 01000000 d7 d6 d5 d4 d3 d2 d1 d0 c3om1 c3om0 c3ls1 c3ls0 c3bo c3vpb reserved reserved 10000000 table 58. tone control bypass cxtcb mode 0 perform tone control on channel x - normal operation 1 bypass tone control on channel x table 59. eq bypass cxeqbp mode 0 perform eq on channel x - normal operation 1 bypass eq on channel x table 60. volume bypass register cxvbp mode 0 normal volume operations 1 volume is by-passed
register description STA369BWS 50/89 doc id 16861 rev 4 binary output enable registers each individual channel output can be set to output a binary pwm stream. in this mode output a of a channel is considered the positive output and output b is negative inverse. limiter select limiter selection can be made on a per-channel basis according to the channel limiter select bits. cxls bits are no t considered in case of dual band drc ( section 6.13.1 ), eq drc ( section 6.13.2 ) or gdrc ( section 6.21 ) usage. . output mapping output mapping can be performed on a per channel basis according to the cxom channel output mapping bits. each input into the output configuration engine can receive data from any of the three processing channel outputs. . table 61. binary output enable registers cxbo mode 0 ffx output operation 1 binary output table 62. channel limiter mapping as a function of cxls bits cxls[1:0] channel limiter mapping 00 channel has limiting disabled 01 channel is mapped to limiter #1 10 channel is mapped to limiter #2 table 63. channel output mapping as a function of cxom bits cxom[1:0] channel x output source from 00 channel1 01 channel 2 10 channel 3
STA369BWS register description doc id 16861 rev 4 51/89 6.5 tone control register (addr 0x11) tone control 6.6 dynamic control registers (addr 0x12 - 0x15) 6.6.1 limiter 1 attack/release rate (addr 0x12) 6.6.2 limiter 1 attack/r elease threshold (addr 0x13) d7 d6 d5 d4 d3 d2 d1 d0 ttc3 ttc2 ttc1 ttc0 btc3 btc2 btc1 btc0 01110111 table 64. tone control boost/cut as a function of btc and ttc bits btc[3:0]/ttc[3:0] boost/cut 0000 -12 db 0001 -12 db 0010 -10 db ?? 0101 -4 db 0110 -2 db 0111 0 db 1000 +2 db 1001 +4 db ?? 1100 +10 db 1101 +12 db 1110 +12 db 1111 +12 db d7 d6 d5 d4 d3 d2 d1 d0 l1a3 l1a2 l1a1 l1a0 l1r3 l1r2 l1r1 l1r0 01101010 d7 d6 d5 d4 d3 d2 d1 d0 l1at3 l1at2 l1at1 l1at0 l1rt3 l1rt2 l1rt1 l1rt0 01101001
register description STA369BWS 52/89 doc id 16861 rev 4 6.6.3 limiter 2 attack/release rate (addr 0x14) 6.6.4 limiter 2 attack/r elease threshold (addr 0x15) 6.6.5 description the STA369BWS includes two independent limiter blocks. the purpose of the limiters is to automatically reduce the dynamic range of a recording to prevent the outputs from clipping in anti-clipping mode or to actively redu ce the dynamic range for a better listening environment such as a night-time listening mode which is often needed for dvds. the two modes are selected via the drc bit in configuration register e (addr 0x04) on page 34 . each channel can be mapped to either limiter or no t mapped, meaning th at channel will clip when 0 dbfs is exceeded. each limiter looks at the present value of each channel that is mapped to it, selects the maximum absolute value of all these channels, performs the limiting algorithm on that value, and then if needed adjusts the gain of the mapped channels in unison. figure 18. basic limiter and volume flow diagram the limiter attack thresholds are determined by the lxat registers if eathx[7] bits are set to 0 else the thresholds are determined by eathx[6:0]. it is recommended in anti-clipping mode to set this to 0 dbfs, which corresponds to the maximum unclipped output power of a ffx amplifier. since gain can be added digitally within the STA369BWS it is possible to exceed 0 dbfs or any other lxat setting, when this occurs, the limiter, when active, automatically starts reducing the gain. the rate at which the gain is reduced when the attack threshold is exceeded is dependent upon the attack rate register setting for that limiter. gain reduction occurs on a peak-detect algorithm. setting eathx[7] bits to 1 selects the anti-clipping mode. the limiter release thresholds are determined by the lxrt registers if erthx[7] bits are set to 0 else the thresholds are determined by erthx[6:0]. settings to 1 erthx[7] bits the anti-clipping mode is selected automatically. the release of limiter, when the gain is again increased, is dependent on a rms-detect algorithm. the output of the volume/limiter block is passed through a rms filter. the output of this filter is compared to the release threshold, determined by the release threshold register. when the rms filter output falls below the d7 d6 d5 d4 d3 d2 d1 d0 l2a3 l2a2 l2a1 l2a0 l2r3 l2r2 l2r1 l2r0 01101010 d7 d6 d5 d4 d3 d2 d1 d0 l2at3 l2at2 l2at1 l2at0 l2rt3 l2rt2 l2rt1 l2rt0 01101001 attenuation saturation rms limiter gain gain / volume input output + attenuation saturation rms limiter gain gain / volume input output +
STA369BWS register description doc id 16861 rev 4 53/89 release threshold, the gain is again increased at a rate dependent upon the release rate register. the gain can never be increased past its set value and, therefore, the release only occurs if the limiter has already reduced the gain. the release threshold value can be used to set what is effectively a minimum dynamic range, this is helpful as over limiting can reduce the dynamic range to virtually zero a nd cause program material to sound ?lifeless?. in ac mode, the attack and re lease thresholds are set relati ve to full-scale. in drc mode, the attack threshold is set relative to the maximum volume setting of the channels mapped to that limiter and the release threshold is se t relative to the maximum volume setting plus the attack threshold. table 65. limiter attack rate vs lxa bits lxa[3:0] attack rate db/ms 0000 3.1584 fast slow 0001 2.7072 0010 2.2560 0011 1.8048 0100 1.3536 0101 0.9024 0110 0.4512 0111 0.2256 1000 0.1504 1001 0.1123 1010 0.0902 1011 0.0752 1100 0.0645 1101 0.0564 1110 0.0501 1111 0.0451
register description STA369BWS 54/89 doc id 16861 rev 4 anti-clipping mode table 66. limiter release rate vs lxr bits lxr[3:0] release rate db/ms 0000 0.5116 fast slow 0001 0.1370 0010 0.0744 0011 0.0499 0100 0.0360 0101 0.0299 0110 0.0264 0111 0.0208 1000 0.0198 1001 0.0172 1010 0.0147 1011 0.0137 1100 0.0134 1101 0.0117 1110 0.0110 1111 0.0104 table 67. limiter attack threshold vs lxat bits (ac mode) lxat[3:0] ac (db relative to fs) 0000 -12 0001 -10 0010 -8 0011 -6 0100 -4 0101 -2 0110 0 0111 +2 1000 +3 1001 +4 1010 +5 1011 +6 1100 +7 1101 +8
STA369BWS register description doc id 16861 rev 4 55/89 dynamic range compression mode 1110 +9 1111 +10 table 68. limiter release threshold vs lxrt bits (ac mode) lxrt[3:0] ac (db relative to fs) 0000 - 0001 -29 0010 -20 0011 -16 0100 -14 0101 -12 0110 -10 0111 -8 1000 -7 1001 -6 1010 -5 1011 -4 1100 -3 1101 -2 1110 -1 1111 -0 table 69. limiter attack threshold vs lxat bits (drc mode) lxat[3:0] drc (db relative to volume) 0000 -31 0001 -29 0010 -27 0011 -25 0100 -23 0101 -21 0110 -19 0111 -17 1000 -16 table 67. limiter attack threshold vs lxat bits (ac mode) (continued) lxat[3:0] ac (db relative to fs)
register description STA369BWS 56/89 doc id 16861 rev 4 6.6.6 limiter 1 extended at tack threshold (addr 0x32) the extended attack threshold value is determined as follows: attack threshold = -12 + eath1 / 4 1001 -15 1010 -14 1011 -13 1100 -12 1101 -10 1110 -7 1111 -4 table 70. limiter release threshold vs lxrt bits (drc mode) lxrt[3:0] drc (db relati ve to volume + lxat) 0000 - 0001 -38 0010 -36 0011 -33 0100 -31 0101 -30 0110 -28 0111 -26 1000 -24 1001 -22 1010 -20 1011 -18 1100 -15 1101 -12 1110 -9 1111 -6 table 69. limiter attack threshold vs lxat bits (drc mode) (continued) lxat[3:0] drc (db relative to volume) d7 d6 d5 d4 d3 d2 d1 d0 eathen1eath1[6]eath1[5]eath1[4]eath1[3]eath1[2]eath1[1]eath1[0] 00110000
STA369BWS register description doc id 16861 rev 4 57/89 6.6.7 limiter 1 extended re lease threshold (addr 0x33) the extended release threshold value is determined as follows: release threshold = -12 + erth1 / 4 6.6.8 limiter 2 extended at tack threshold (addr 0x34) the extended attack threshold value is determined as follows: attack threshold = -12 + eath2 / 4 6.6.9 limiter 2 extended re lease threshold (addr 0x35) the extended release threshold value is determined as follows: release threshold = -12 + erth2 / 4 note: attack/release threshold step is 0.125 db in the range -12 db and 0 db. 6.7 user-defined coefficient cont rol registers (addr 0x16 - 0x26) 6.7.1 coefficient addr ess register (addr 0x16) 6.7.2 coefficient b1 data regi ster bits (addr 0x17 - 0x19) d7 d6 d5 d4 d3 d2 d1 d0 erthen1 erth1[6] erth1[5] erth1[4] e rth1[3] erth1[2] erth1[1] erth1[0] 00110000 d7 d6 d5 d4 d3 d2 d1 d0 eathen2eath2[6]eath2[5]eath2[4]eath2[3]eath2[2]eath2[1]eath2[0] 00110000 d7 d6 d5 d4 d3 d2 d1 d0 erthen2 erth2[6] erth2[5] erth2[4] e rth2[3] erth2[2] erth2[1] erth2[0] 00110000 d7 d6 d5 d4 d3 d2 d1 d0 reserved reserved cfa5 cfa4 cfa3 cfa2 cfa1 cfa0 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c1b23 c1b22 c1b21 c1b20 c1b19 c1b18 c1b17 c1b16 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c1b15 c1b14 c1b13 c1b12 c1b11 c1b10 c1b9 c1b8 00000000
register description STA369BWS 58/89 doc id 16861 rev 4 6.7.3 coefficient b2 data regi ster bits (addr 0x1a - 0x1c) 6.7.4 coefficient a1 data regi ster bits (addr 0x1d - 0x1f) 6.7.5 coefficient a2 data regi ster bits (addr 0x20 - 0x22) d7 d6 d5 d4 d3 d2 d1 d0 c1b7 c1b6 c1b5 c1b4 c1b3 c1b2 c1b1 c1b0 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c2b23 c2b22 c2b21 c2b20 c2b19 c2b18 c2b17 c2b16 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c2b15 c2b14 c2b13 c2b12 c2b11 c2b10 c2b9 c2b8 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c2b7 c2b6 c2b5 c2b4 c2b3 c2b2 c2b1 c2b0 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c3b23 c3b22 c3b21 c3b20 c3b19 c3b18 c3b17 c3b16 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c3b15 c3b14 c3b13 c3b12 c3b11 c3b10 c3b9 c3b8 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c3b7 c3b6 c3b5 c3b4 c3b3 c3b2 c3b1 c3b0 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c4b23 c4b22 c4b21 c4b20 c4b19 c4b18 c4b17 c4b16 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c4b15 c4b14 c4b13 c4b12 c4b11 c4b10 c4b9 c4b8 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c4b7 c4b6 c4b5 c4b4 c4b3 c4b2 c4b1 c4b0 00000000
STA369BWS register description doc id 16861 rev 4 59/89 6.7.6 coefficient b0 data regi ster bits (addr 0x23 - 0x25) 6.7.7 coefficient read/write control regist er (addr 0x26) 6.7.8 description coefficients for user-defined eq, mixing, scaling, and bass management are handled internally in the STA369BWS via ram. access to this ram is available to the user via an i 2 c register interface. a collection of i 2 c registers are dedicated to this function. one contains a coefficient base address, five sets of three store the values of the 24-bit coefficients to be written or that were read, and one contains bits used to control the write/read of the coefficient(s) to/from ram. three different ram banks are embedded in STA369BWS. the three banks are managed in paging mode using eqcfg register bits. they can be used to store different eq settings. for speaker frequency compensation, a sampling frequency independent eq must be implemented. computing three different coefficients set for 32 khz, 44.1khz, 48 khz and downloading them into the three ram banks, it is possible to select the suitable ram block depending from the incoming frequency with a simple i 2 c write operation on register 0x31. for example, in case of different input sources (different sampling rates), the three different sets of coefficients can be downloaded once at the start up, and during the normal play it is possible to switch among the three ram blocks allowing a faster operation, without any additional download from the microcontroller. to write the coefficients in a particular ram bank, this bank must be selected first writing bit 0 and bit 1 in register 0x31. then the write procedure below can be used. note that as soon as a ram bank is selected, the eq settings are automatically switched to the coefficients stored in the active ram block. note: the read and write operation on ram coefficients works only if lrcki (pin 29) is switching. d7 d6 d5 d4 d3 d2 d1 d0 c5b23 c5b22 c5b21 c5b20 c5b19 c5b18 c5b17 c5b16 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c5b15 c5b14 c5b13 c5b12 c5b11 c5b10 c5b9 c5b8 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c5b7 c5b6 c5b5 c5b4 c5b3 c5b2 c5b1 c5b0 00000000 d7 d6 d5 d4 d3 d2 d1 d0 reserved ra r1 wa w1 0 0000
register description STA369BWS 60/89 doc id 16861 rev 4 reading a coefficient from ram 1. select the ram block with register 0x31 bit1, bit0. 2. write 6-bits of address to i 2 c register 0x16. 3. write 1 to r1 bit in i 2 c address 0x26. 4. read top 8-bits of coefficient in i 2 c address 0x17. 5. read middle 8-bits of coefficient in i 2 c address 0x18. 6. read bottom 8-bits of coefficient in i 2 c address 0x19. reading a set of coefficients from ram 1. select the ram block with register 0x31 bit1, bit0. 2. write 6-bits of address to i 2 c register 0x16. 3. write 1 to ra bit in i 2 c address 0x26. 4. read top 8-bits of coefficient in i 2 c address 0x17. 5. read middle 8-bits of coefficient in i 2 c address 0x18. 6. read bottom 8-bits of coefficient in i 2 c address 0x19. 7. read top 8-bits of coefficient b2 in i 2 c address 0x1a. 8. read middle 8-bits of coefficient b2 in i 2 c address 0x1b. 9. read bottom 8-bits of coefficient b2 in i 2 c address 0x1c. 10. read top 8-bits of coefficient a1 in i 2 c address 0x1d. 11. read middle 8-bits of coefficient a1 in i 2 c address 0x1e. 12. read bottom 8-bits of coefficient a1 in i 2 c address 0x1f. 13. read top 8-bits of coefficient a2 in i 2 c address 0x20. 14. read middle 8-bits of coefficient a2 in i 2 c address 0x21. 15. read bottom 8-bits of coefficient a2 in i 2 c address 0x22. 16. read top 8-bits of coefficient b0 in i 2 c address 0x23. 17. read middle 8-bits of coefficient b0 in i 2 c address 0x24. 18. read bottom 8-bits of coefficient b0 in i 2 c address 0x25. writing a single coefficient to ram 1. select the ram block with register 0x31 bit1, bit0. 2. write 6-bits of address to i 2 c register 0x16. 3. write top 8-bits of coefficient in i 2 c address 0x17. 4. write middle 8-bits of coefficient in i 2 c address 0x18. 5. write bottom 8-bits of coefficient in i 2 c address 0x19. 6. write 1 to w1 bit in i 2 c address 0x26.
STA369BWS register description doc id 16861 rev 4 61/89 writing a set of coefficients to ram 1. select the ram block with register 0x31 bit1, bit0. 2. write 6-bits of starting address to i 2 c register 0x16. 3. write top 8-bits of coefficient b1 in i 2 c address 0x17. 4. write middle 8-bits of coefficient b1 in i 2 c address 0x18. 5. write bottom 8-bits of coefficient b1 in i 2 c address 0x19. 6. write top 8-bits of coefficient b2 in i 2 c address 0x1a. 7. write middle 8-bits of coefficient b2 in i 2 c address 0x1b. 8. write bottom 8-bits of coefficient b2 in i 2 c address 0x1c. 9. write top 8-bits of coefficient a1 in i 2 c address 0x1d. 10. write middle 8-bits of coefficient a1 in i 2 c address 0x1e. 11. write bottom 8-bits of coefficient a1 in i 2 c address 0x1f. 12. write top 8-bits of coefficient a2 in i 2 c address 0x20. 13. write middle 8-bits of coefficient a2 in i 2 c address 0x21. 14. write bottom 8-bits of coefficient a2 in i 2 c address 0x22. 15. write top 8-bits of coefficient b0 in i 2 c address 0x23. 16. write middle 8-bits of coefficient b0 in i 2 c address 0x24. 17. write bottom 8-bits of coefficient b0 in i 2 c address 0x25. 18. write 1 to wa bit in i 2 c address 0x26. the mechanism for writing a set of coefficients to ram provides a method of updating the five coefficients corresponding to a given biquad (filter) simultaneously to avoid possible unpleasant acoustic side-effects. when using this technique, the 6-bit address specifies the address of the biquad b1 coefficient (for example, 0, 5, 10, 20, 35 decimal), and the STA369BWS generates the ram addresses as offsets from this base value to write the complete set of coefficient data. table 71. ram block for biquads, mixing, scaling, bass management index (decimal) index (hex) description coefficient default 0 0x00 channel 1 - biquad 1 c1h10(b1/2) 0x000000 1 0x01 c1h11(b2) 0x000000 2 0x02 c1h12(a1/2) 0x000000 3 0x03 c1h13(a2) 0x000000 4 0x04 c1h14(b0/2) 0x400000 5 0x05 channel 1 - biquad 2 c1h20 0x000000 ?? ? ? ? 19 0x13 channel 1 - biquad 4 c1h44 0x400000 20 0x14 channel 2 - biquad 1 c2h10 0x000000 21 0x15 c2h11 0x000000 ?? ? ? ? 39 0x27 channel 2 - biquad 4 c2h44 0x400000
register description STA369BWS 62/89 doc id 16861 rev 4 user-defined eq the STA369BWS can be programmed for four eq filters (biquads) per each of the two input channels. the biquads use the following equation: y[n] = 2 * (b 0 / 2) * x[n] + 2 * (b 1 / 2) * x[n-1] + b 2 * x[n-2] - 2 * (a 1 / 2) * y[n-1] - a 2 * y[n-2] = b 0 * x[n] + b 1 * x[n-1] + b 2 * x[n-2] - a 1 * y[n-1] - a 2 * y[n-2] where y[n] represents the output and x[n] represents the input. multipliers are 24-bit signed fractional multipliers, with coefficient values in the range of 0x800000 (-1) to 0x7fffff (0.9999998808). 40 0x28 channel 1/2 - biquad 5 or 8 for xo = 000 high-pass 2 nd order filter for xo 000 c12h0(b1/2) 0x000000 41 0x29 c12h1(b2) 0x000000 42 0x2a c12h2(a1/2) 0x000000 43 0x2b c12h3(a2) 0x000000 44 0x2c c12h4(b0/2) 0x400000 45 0x2d channel 3 - biquad for xo = 000 low-pass 2 nd order filter for xo 000 c3h0(b1/2) 0x000000 46 0x2e c3h1(b2) 0x000000 47 0x2f c3h2(a1/2) 0x000000 48 0x30 c3h3(a2) 0x000000 49 0x31 c3h4(b0/2) 0x400000 50 0x32 channel 1 - prescale c1pres 0x7fffff 51 0x33 channel 2 - prescale c2pres 0x7fffff 52 0x34 channel 1 - postscale c1psts 0x7fffff 53 0x35 channel 2 - postscale c2psts 0x7fffff 54 0x36 channel 3 - postscale c3psts 0x7fffff 55 0x37 twarn/oc - limit twocl 0x5a9df7 56 0x38 channel 1 - mix 1 c1mx1 0x7fffff 57 0x39 channel 1 - mix 2 c1mx2 0x000000 58 0x3a channel 2 - mix 1 c2mx1 0x000000 59 0x3b channel 2 - mix 2 c2mx2 0x7fffff 60 0x3c channel 3 - mix 1 c3mx1 0x400000 61 0x3d channel 3 - mix 2 c3mx2 0x400000 62 0x3e unused 63 0x3f unused table 71. ram block for biquads, mixing, scaling, bass management (continued) index (decimal) index (hex) description coefficient default
STA369BWS register description doc id 16861 rev 4 63/89 coefficients stored in the user defined coe fficient ram are referenced in the following manner: cxhy0 = b 1 / 2 cxhy1 = b 2 cxhy2 = -a 1 / 2 cxhy3 = -a 2 cxhy4 = b 0 / 2 where x represents the channel and the y the biquad number. for example, c2h41 is the b 2 coefficient in the fourth biquad for channel 2. crossover and biquad #8 additionally, the STA369BWS can be programmed for a high-pass filter (processing channels 1 and 2) and a low-pass filter (processing channel 3) to be used for bass management crossover when the xo setting is 000 (user-defined). both of these filters when defined by the user (rather than using the preset crossover filters) are second order filters that use the biquad equation given above. they are loaded into the c12h0-4 and c3hy0-4 areas of ram noted in ta b l e 7 1 , addresses 0x28 to 0x31. by default, all user-defined filters are pass-through where all coefficients are set to 0, except the b 0 /2 coefficient which is set to 0x400000 (representing 0.5) prescale the STA369BWS provides a multiplication for each input channel for the purpose of scaling the input prior to eq. this pre-eq scaling is accomplished by using a 24-bit signed fractional multiplier, with 0x800000 = -1 and 0x7fffff = 0.9999998808. the scale factor for this multiplier is loaded into ram. all channels can use the channel-1 prescale factor by setting the biquad link bit. by default, all prescale factors (ram addresses 0x32 to 0x33) are set to 0x7fffff. postscale the STA369BWS provides one additional multiplication after the last interpolation stage and the distortion compensation on each channel. this postscaling is accomplished by using a 24-bit signed fractional multiplier, with 0x800000 = -1 and 0x7fffff = 0.9999998808. the scale factor for this multiplier is loaded into ram. this postscale factor can be used in conjunction with an adc equipped micro-controller to perform power-supply error correction. all channels can use the channel-1 postscale factor by setting the postscale link bit. by default, all postscale factors (ram addresses 0x34 to 0x36) are set to 0x7fffff. when line output is being used, channel-3 postscale affects both channels 3 and 4. thermal warning and overcurrent adjustment (twocl) the STA369BWS provides a simple mechanism for reacting to overcurrent or thermal warning detection in the power block. when the warning occurs, the twocl value is used to provide output attenuation clipping on all channels. the amount of attenuation to be applied in this situation can be adjusted by modifying the overcurrent and thermal warning limiting value (ram addr 0x37). by default, the overcurrent postscale adjustment factor is set to 0x5a9df7 (that is, -3 db). once the limiting is applied it remains until the device is either reset or according to the twrb and ocrb settings.
register description STA369BWS 64/89 doc id 16861 rev 4 6.8 variable max power correction registers (addr 0x27 - 0x28) mpcc bits determine the 16 msbs of the mpc comp ensation coefficient. this coefficient is used in place of the default coefficient when mpcv = 1. 6.9 distortion compensation registers (addr 0x29 - 0x2a) dcc bits determine the 16 msbs of the distor tion compensation coefficient. this coefficient is used in place of the default coefficient when dccv = 1. 6.10 fault detect recovery consta nt registers (addr 0x2b - 0x2c) fdrc bits specify the 16-bit faul t detect recovery time delay. when fault is asserted, the tristate output is immediately asserted low and held low for the time period specified by this constant. a constant value of 0x0001 in this register is approximately 0.083 ms. the default value of 0x000c gives approximately 0.1 ms. note: 0x0000 is a reserved value for these registers. d7 d6 d5 d4 d3 d2 d1 d0 mpcc15 mpcc14 mpcc13 mpcc12 m pcc11 mpcc10 mpcc9 mpcc8 00011010 d7 d6 d5 d4 d3 d2 d1 d0 mpcc7 mpcc6 mpcc5 mpcc4 mpcc3 mpcc2 mpcc1 mpcc0 11000000 d7 d6 d5 d4 d3 d2 d1 d0 dcc15 dcc14 dcc13 dcc12 dcc11 dcc10 dcc9 dcc8 11110011 d7 d6 d5 d4 d3 d2 d1 d0 dcc7 dcc6 dcc5 dcc4 dcc3 dcc2 dcc1 dcc0 00110011 d7 d6 d5 d4 d3 d2 d1 d0 fdrc15 fdrc14 fdrc13 fdrc12 fdrc11 fdrc10 fdrc9 fdrc8 00000000 d7 d6 d5 d4 d3 d2 d1 d0 fdrc7 fdrc6 fdrc5 fdrc4 fdrc3 fdrc2 fdrc1 fdrc0 00001100
STA369BWS register description doc id 16861 rev 4 65/89 6.11 device status register (addr 0x2d) this read-only register provides fault and thermal-warning status information from the power control block. logic value 1 for faults or warning means normal state. logic 0 means a fault or warning detected on power bridge. the pllul = 1 means that the pll is not locked. d7 d6 d5 d4 d3 d2 d1 d0 pllul fault uvfault reserved ocfault ocwarn tfault twarn table 72. status register bits bit r/w rst name description 7 r - pllul 0: pll locked 1: pll not locked 6r - fault 0: fault detected on power bridge 1: normal operation 5r - uvfault 0: vccxx internally detected < undervoltage threshold 4 r - reserved - 3 r - ocfault 0: overcurrent fault detected 2 r - ocwarn 0: overcurrent warning 1 r - tfault 0: thermal fault, junction temperature over limit 0r - twarn 0: thermal warning, junction temperature is close to the fault condition
register description STA369BWS 66/89 doc id 16861 rev 4 6.12 eq coefficients and drc conf iguration register (addr 0x31) eq ram drc / anti clipping bits amgc[3:2] change the behavior of the bits amgc[1:0] as given in ta b l e 7 4 below. anticlipping when amgc[3:2] = 01 ac0, ac1, ac2 settings are designed for the loudspeaker protection function, limiting at the minimum any audio artefacts introduced by ty pical anti-clipping / drc algorithms. more detailed information is available in the applications notes ?configurable output power rate using sta335bw? and ?sta335bws vs sta335bw?. xob this bit can be used to bypass the crossover filters. logic 1 means that the function is not active. in this case, high pass crossover filter works as a pass-through on the data path (b0 = 1, all the other coefficients at logic 0) while the low-pass filter is configured to have zero signal on channel-3 data processing (all the coefficients are at logic 0). d7 d6 d5 d4 d3 d2 d1 d0 xob reserved reserved amgc[3] amgc[2] reserved sel[1] sel[0] 00000000 table 73. eq ram select sel[1:0] eq ram bank selected 00 / 11 bank 0 activated 01 bank 1 activated 10 bank 2 activated table 74. anti clipping and drc preset amgc[3:2] anti clipping and drc preset selected 00 drc / anti-clipping behavior is described in table 53 on page 47 (default) 01 drc / anti-clipping behavior is described table 75 on page 66 10 / 11 reserved table 75. anti-clipping selection for amgc[3:2] = 01 amgc[1:0] mode 00 ac0, stereo anticlipping 0db limiter 01 ac1, stereo antic lipping +1.25 db limiter 10 ac2, stereo anticlipping +2 db limiter 11 reserved do not use
STA369BWS register description doc id 16861 rev 4 67/89 6.13 extended configurat ion register (addr 0x36) extended configuration register provides access to b 2 drc and biquad 5, 6 and 7. 6.13.1 dual-band drc (b 2 drc) STA369BWS device provide a dual-band drc (b 2 drc) on the left and right channels data path, as depicted in figure 19 . dual-band drc is activated by setting mdrc[1:0] = 1x. figure 19. b 2 drc scheme the low frequency information (lfe) is extracted from left and right channels, removing the high frequencies using a programmable biquad filter, and then computing the difference with the original signal. limiter 1 (drc1) is then used to control left/right high frequency components amplitude while lim iter 2 (drc2) is used to control the low frequency components (see chapter 6.6 ). the cut-off frequency of the high pass filters can be user defined, xo[3:0] = 0, or selected from the predefined values. drc1 and drc2 are then used to independentl y limit l/r high frequencies and lfe channels amplitude (see chapter 6.6 ) as well as their volume control. to be noted that, in this configuration, the dedicated channel 3 volume control can be actually acted as a bass boost enhancer as well (0.5 db/step resolution). the processed lfe channel is then recombined with the l and r channels in order to reconstruct the 2.0 output signal. sub-band decomposition the sub-band decomposition for b 2 drc can be configured specifying the cutoff frequency. the cut off frequency can be programmed in two ways, using xo bits in register 0x0c, or using ?user programmable? mode (coefficients stored in ram addresses 0x28 to 0x31). d7 d6 d5 d4 d3 d2 d1 d0 mdrc[1] mdrc[0] ps48db xar1 xar2 bq5 bq6 bq7 00000000 r l pass xo filter pass xo filter r l b 2 drc hi-pass filter b 2 drc hi-pass filter - - ch1 volume vol and limiter drc1 ch2 volume drc1 ch3 volume vol and limiter drc2 ch3 volume vol and limiter drc2 + + r l pass xo filter pass xo filter r l b 2 drc hi-pass filter b 2 drc hi-pass filter - - ch1 volume vol and limiter drc1 ch2 volume drc1 ch3 volume vol and limiter drc2 ch3 volume vol and limiter drc2 + +
register description STA369BWS 68/89 doc id 16861 rev 4 for the user programmable mode, use the formulae below to compute the high pass filters: where alpha = (1-sin( 0 )) / cos( 0 ), and 0 is the cut-off frequency. a first-order filter is suggested to guarantee that for every 0 the corresponding low-pass filter obtained as difference (as shown in figure 19 ) has a symmetric (relative to hp filter) frequency response, and the corresponding recombination after the drc has low ripple. second-order filters can be used as well, but in this case the filter shape must be carefully chosen to provide good low pass response and minimum ripple recombination. for second- order is not possible to give a closed formula to get the best coefficients, but empirical adjustment should be done. drc settings the drc blocks used by b 2 drc are the same as those described in chapter 6.6 . b 2 drc configure automatically the drc blocks in anticlipping mode. attack and release thresholds can be selected using registers 0x32, 0x33, 0x34, 0x35, while attack and release rates are configured by registers 0x12 and 0x14. band downmixing the low-frequency band is down-mixed to the left and right channels at the b 2 drc output. channel volume can be used to weight the bands recombination to fine tune the overall frequency response. 6.13.2 eq drc mode setting mdrc = 01, it is possible to add a programmable biquad (the xo biquad at ram addresses 0x28 to 0x2c is used for this pur pose) to the limiter/compressor measure path (side chain). using eqdrc the peak detector input can be shaped in frequency using the programmable biquad. for example, if a bass boost of +2 db is applied (using a low-shelf filter, for instance), the effect is that the eq drc out will limit bass freq uencies to 2 db below the selected attack threshold. generally speaking, if the biquad boosts frequency f with an amount of x db, the level of a compressed sine wave at the output is th - x, where th is the selected attack threshold. note: eqdrc works only if the biquad frequency response magnitude is >= 0 db for every frequency. b0 = (1 + alpha) / 2 a0 = 1 b1 = -(1 + alpha) / 2 a1 = -alpha b2 = 0 a2 = 0
STA369BWS register description doc id 16861 rev 4 69/89 figure 20. eqdrc scheme extended postscale range postscale is an attenuation by default. when ps48db is set to 1, a 48-db offset is applied to the configured word, so postscale can act as a gain too. extended attack rate the attack rate shown in ta bl e 6 5 can be extended to provide up to 8 db/ms attack rate on both limiters. extended biquad selector de-emphasis filter as well as bass and treble controls can be configured as user defined filters when equalization coefficients link is activated (bql = 1) and the corresponding bqx bit is set to 1. table 76. bit ps48db description ps48db mode 0 postscale value is applied as defined in coefficient ram 1 postscale value is applied with +48-db offset with respect to the coefficient ram value table 77. bit xar1 description xar1 mode 0 limiter1 attack rate is configured using ta b l e 6 5 1 limiter1 attack rate is 8 db/ms table 78. bit xar2 description xar2 mode 0 limiter2 attack rate is configured using ta b l e 6 5 1 limiter2 attack rate is 8 db/ms channel in channel in biquad eqdrc standard drc channel in channel in biquad biquad peak detector peak detector attenuation claculator attenuation claculator attenuation attenuation channel in channel in biquad eqdrc standard drc channel in channel in biquad biquad peak detector peak detector attenuation claculator attenuation claculator attenuation attenuation
register description STA369BWS 70/89 doc id 16861 rev 4 when filters from 5th to 7th are configured as user-programmable, the corresponding coefficients are stored respectively in addresses 0x14-0x18 (bq5), 0x19-0x1d (bq6) and 0x1e-0x22 (bq7) as in ta b l e 7 1 . note: bqx bits are ignored if bql = 0 or if demp = 1 (relevant for bq5) or cxtcb = 1 (relevant for bq6 and bq7). 6.14 soft volume configuration registers (addr 0x37 - 0x38) soft volume update has a fixed rate by default. using register 0x37 and 0x38 it is possible to override the default behavior allowing different volume change rates. it is also possible to independently define the fade-in (volume is increased) and fade-out (volume is decreased) rates according to the desired behavior. table 79. bit bq5 description bq5 mode 0 preset de-emphasis filter selected 1 user defined biquad 5 coefficients are selected table 80. bit bq6 description bq6 mode 0 preset bass filter selected as per ta b l e 6 4 1 user defined biquad 6 coefficients are selected table 81. bit bq7 description bq7 mode 0 preset treble filter selected as per ta bl e 6 4 1 user defined biquad 7 coefficients are selected d7 d6 d5 d4 d3 d2 d1 d0 reserved reserved svupe svup[4] svup[3] svup[2] svup[1] svup[0] 00000000 d7 d6 d5 d4 d3 d2 d1 d0 reserved reserved svdwe svdw4] svdw[3] svdw[2] svdw[1] svdw[0] 00000000 table 82. bit svupe description svupe mode 0 when volume is increased, use the default rate 1 when volume is increased, use the rates defined by svup[4:0]
STA369BWS register description doc id 16861 rev 4 71/89 when svupe = 1 the fade-in rate is defined by the svup[4:0] bits according to the formula: fade-in rate = 48 / (n + 1) db/ms where n is the svup[4:0] value. when svdwe = 1 the fade-out rate is defined by the svdw[4:0] bits according to the formula: fade-in rate = 48 / (n + 1) db/ms where n is the svdw[4:0] value. note: for fade-out rates greater than 6 db/ms it is suggested to disable cpwmen bit ( miscellaneous registers (addr 0x4b, 0x4c) on page 76 ) and zce bit ( configuration register e (addr 0x04) on page 34 ) in order to avoid any audible pop noise. 6.15 drc rms filter coefficients (addr 0x39-0x3e) signal level detection in drc algorithm is computed using the following formula: y(t) = c0 * abs(x( t)) + c1 * y(t-1) where x(t) represents the audio signal applied to the limiter, and y(t) the measured level. table 83. bit svdwe description svdwe mode 0 when volume is decreased, use the default rate 1 when volume is decreased, use the rates defined by svdw[4:0] d7 d6 d5 d4 d3 d2 d1 d0 r_c0[23] r_c0[22] r_c0[21] r_c0[20] r_c0[19] r_c0[18] r_c0[17] r_c0[16] 00000001 d7 d6 d5 d4 d3 d2 d1 d0 r_c0[15] r_c0[14] r_c0[13] r_c0[12] r_c0[11] r_c0[10] r_c0[9] r_c0[8] 11101110 d7 d6 d5 d4 d3 d2 d1 d0 r_c0[7] r_c0[6] r_c0[5] r_c0[4] r_c0[3] r_c0[2] r_c0[1] r_c0[0] 11111111 d7 d6 d5 d4 d3 d2 d1 d0 r_c1[23] r_c1[22] r_c1[21] r_c1[20] r_c1[19] r_c1[18] r_c1[17] r_c1[16] 01111110 d7 d6 d5 d4 d3 d2 d1 d0 r_c1[15] r_c1[14] r_c1[13] r_c1[12] r_c1[11] r_c1[10] r_c1[9] r_c1[8] 11000000 d7 d6 d5 d4 d3 d2 d1 d0 r_c1[7] r_c1[6] r_c1[5] r_c1[4] r_c1[3] r_c1[2] r_c1[1] r_c1[0] 00100110
register description STA369BWS 72/89 doc id 16861 rev 4 6.16 extra volume resolution conf iguration registers (addr 0x3f) extra volume resolution allows fine volume tuning in steps of 0.125 db. the feature is enabled when vresen = 1, as depicted in figure 21 . the overall channel volume in this case is cxvol + cxvr (in db). figure 21. extra resolution volume scheme if vresen = 0 the channel volume is defined only by cxvol registers. fine tuning steps can be set according to the following table for channels 1, 2, 3: two different behaviors can be configured by vrestg bit. if vrestg = 0 the cxvr contribution is app lied immediately after the corresponding i 2 c bits are written. if vrestg = 1 the cxvr bits are effective on channel volume only after the corresponding cxvol register or master volume register is written (even to the previous values). d7 d6 d5 d4 d3 d2 d1 d0 vresen vrestg c3vr[1] c3vr[0] c2vr[1] c2vr[0] c1vr[1] c1vr[0] 00000000 table 84. bits cxvr description cxvr[1:0] mode 00 0 db 01 -0.125 db 10 -0.25 db 11 -0.375 db audio data out cxvol soft volume x x audio data in vresen vrestg cxvr mvol or cxvol?event 1 0 0 1 audio data out cxvol soft volume x x audio data in vresen vrestg cxvr mvol or cxvol?event 1 0 0 1
STA369BWS register description doc id 16861 rev 4 73/89 6.17 short-circuit protection mode registers shok (addr 0x46) the following power-bridge pins short-circuit protection are implemented in STA369BWS: z outxx vs gndx z outxx vs vccx the protection is enabled when register misc2 (address 0x4c) bit shen is set to 1. the protection checks the sh ort circuit when eapd bit is toggled from 0 to 1 (that is, the power bridge is switched on), and only if it passes the test (no short) will the power bridge leave the 3-state condition. register 0x46 (read-only register) gives more information about the detected short type. gndxx equal to 0 means that outxx is shorted to ground, while the same value on vccxx means that outxx is shorted to v cc . to be noted that once the check is performed, and the tristate released, the short-circuit protection is not active again until the next eapd 0 -> 1 toggling. it means that shorts happening during normal operation are not detected. the content of register 0x46 is meaningful on ly after eapd bit is set to 1 at least once. the short-circuit protection implemented is effective only in btl configuration, and it must not be activated (that is, shen must be 0) in single-ended applications. table 85. bits vresen and vrestg description vresen vrestg mode 0 0 extra volume resolution disabled 0 1 extra volume resolution disabled 1 0 fine volume tuning enabled and applied immediately 11 fine volume tuning enabled and applied when master or channel volume is updated d7 d6 d5 d4 d3 d2 d1 d0 gnd1a gnd1b gnd2a gnd2b vcc1a vcc1b vcc2a vcc2b 11111111
register description STA369BWS 74/89 doc id 16861 rev 4 figure 22. short-circuit detection timing diagram (no short detected) in figure 22 the short protection timing diagram is shown. the time information is expressed in clock cycles, where the clock frequency is defi ned as in section . the grey colour is used for shok bits to indicate that the bits keep the status of the previous eapd 0 -> 1 toggling. nb that after reset th is state is meaningless until an eapd transition ha s occurred . ground related shok bits are updated as soon as the gnd test is completed, while vcc bits are updated after the vcc test is completed. both gnd and vcc tests are always run (if shen bit active and eapd toggled to 1), and only if both test are successful (no short) will the bridge outputs leave the 3-state (indicated in dotted lines in the figure). if one of the two tests (or both) fail, the power bridge outputs are kept in 3-state until the procedure is restarted with a new eapd toggling. in this figure eapd is bit 7 of register 0x05. 6.18 quantization error noise correction (addr 0x48) a special feature inside the digital processing bl ock is available. in case of poles positioned at very low frequencies, biquads filters, can generate some audible quantization noise or unwanted dc level. in order to avoid such kind of effect a quantization noise shaping capability can be used. the filter structure including this special feature, relative to each biquad is shown in figure 23 . to maintain a back compatibilit y with all the previous sound terminal? products the feature is not activated by default. it can be enabled independently for each biquad using i 2 c eapd out1a out1b out2a out2b shok[7] shok[6] shok[5] shok[4] shok[3] shok[2] shok[1] shok[0] start gnd test start vcc test end of short test 44 cycles 50005 cycles 50005 cycles 1cycle d7 d6 d5 d4 d3 d2 d1 d0 nshxen nshb7en nshb6en nshb5en nshb4en nshb3en nshb2en nshb1en 00000000
STA369BWS register description doc id 16861 rev 4 75/89 registers. d7 bit, when set, is responsible to activate this function on the crossover filter while the other bits address any specific biqua ds as per previous table. channels 1 and 2 share the same settings. bit d7 is effective also for channel 3 if the relative ocfg is used. figure 23. biquad filter structure wi th quantization-error noise shaping 6.19 extended coefficient range up to +4/-4 (addr 0x49, 0x4a) biquads from 1 to 7 have the possibility to exte nd the coefficient range from +1/-1 to +4/-4. this allows the realization of high shelf filters that may require a coefficients dynamic greater than 1 (absolute value). three ranges are available, +1/- 1, +2/-2, +4/-4. to maintain a back compatibility with all the previous sound terminal? products, the extended range is not activated by default. each biquad has its independent setting as per the table below: in this case the user can decide, for each filter stage, the correct coefficients range. note that for a given biquad the same range is applied to left and right (channel 1 and channel 2). crossover biquads do not have this feature and maintain the +1/-1 range unchanged. z -1 z -1 z -1 z -1 q in(t) b 0 b 1 b 2 a 1 a 2 z -1 + - out(t) z -1 z -1 z -1 z -1 q in(t) b 0 b 1 b 2 a 1 a 2 z -1 + - out(t) d7 d6 d5 d4 d3 d2 d1 d0 cxtb4[1] cxtb4[0] cxtb3[1] cxtb3[0] cxtb2[1] cxtb2[0] cxtb1[1] cxtb1[0] 00000000 d7 d6 d5 d4 d3 d2 d1 d0 reserved reserved cxtb7[1] cxtb7[0] cxtb6[1] cxtb6[0] cxtb5[1] cxtb5[0] 00000000 table 86. coefficients extended range configuration cext_bx[1:0] coefficient range 00 +1/-1 01 +2/-2 10 +4/-4 11 reserved
register description STA369BWS 76/89 doc id 16861 rev 4 6.20 miscellaneous regist ers (addr 0x4b, 0x4c) 6.20.1 misc1 (addr 0x4b) rate powerdown enable (rpdnen) bit in STA369BWS, by default, powerdown pin and i 2 c powerdown act on mute commands to perform the fadeout. this default can be changed so that the fadeout can be started using master volume. rpdnen bit, when set, activates this feature. noise shaping on dc-cut filter enable (nshhpen) bit following what described in section 6.18 , this bit, when set, enables the noise shaping technique on dc-cut filter. channels 1 and 2 share the same settings. bridge immediate off (bridgoff) bit a fadeout procedure is started in STA369BWS, once pwdn function is enabled and after 13 million clock cycles (pll inte rnal frequency) the bridge is put in powerdown (tristate mode). there is also the possib ility to change this behavior so that the power bridge is switched off immediately after pwdn pin is tied to ground, without, therefore waiting for the 13 million clock cycles. bridgoff bit, when set, activates this functi on. obviously, the immediate powerdown generates a pop noise at the output, hence this procedure must be used only in cases where pop noise is not relevant in the application. note that this feature works only for hardware pwdn assertion and not for a power down applied through i 2 c interface. refer to section : power down delay selector (pndlsl[2:0]) bits on page 79 when it is necessary to program a different number of clock cycles. f3x? mode activation (f3x) bits f3x? technology allows the pwm carrier to be suppressed for the au xiliary outputs. when activated, pins 17, 18, 19 and 20 are the channel outputs that can be connected as per figure figure 24 below. this circuit suppresses the pwm carrier fundamental and its harmonics by low-pass filtering the stereo signal. typical resistor and capacitor values are given for filtering the pwm signal. note: f3x mode works only with binary modulation. see section : binary output enable registers on page 50 for how to select this configuration. d7 d6 d5 d4 d3 d2 d1 d0 rpdnen nshhpen bridgoff f3xen[1] f3xen[0] cpwmen reserved boost 00000100
STA369BWS register description doc id 16861 rev 4 77/89 figure 24. external active filter with connection for f3x output the two register bits work as per the following table. channel pwm enable (cpwmen) bit this bit, when set, activates a mute output when the volume reaches a value lower than -76 dbfs. output power boosting (boost) bit the bit, when enabled, allows the maximum pwm modulation index to be increased from the default value to 100%. in this case the maximum unclipped output power can be increased accordingly. note that this feature does not add any gain to the signal, but just extends the maximum unclipped level of STA369BWS. table 87. f3x bits configuration f3x[1] f3x[0] description 0 0 no f3x applied 0 1 f3x applied 1 0 reserved 1 1 reserved v a v a /2 17 18 ch3 4.7kohm 4.7kohm 470pf 470nf 20kohm 30kohm 470pf v a v a /2 19 20 ch4 4.7kohm 4.7kohm 470pf 470nf 20kohm 30kohm 470pf v a v a /2 17 18 ch3 4.7kohm 4.7kohm 470pf 470nf 20kohm 30kohm 470pf v a v a /2 17 18 ch3 4.7kohm 4.7kohm 470pf 470nf 20kohm 30kohm 470pf v a v a /2 19 20 ch4 4.7kohm 4.7kohm 470pf 470nf 20kohm 30kohm 470pf v a v a /2 19 20 ch4 4.7kohm 4.7kohm 470pf 470nf 20kohm 30kohm 470pf
register description STA369BWS 78/89 doc id 16861 rev 4 6.20.2 misc2 (addr 0x4c) external amplifier hardware pin enable (lpdp, lpd lpde) bits pin 32 (int_line), described in ta b l e 2 , normally indicates a fault condition. however, using the following register settings, pin 32 can be reconfigured as the hardware pin enabler for an external headphone or line amplifier. in particular lpde bit, when set, activates this function. accordingly, lpd is exported to pin 32 and in case of power down assertion pin 32 is tied to lpdp. lpdp bit, when set, negates the value programmed as lpd value. this is summarized in the following table. figure 25. alternate function for int_line pin d7 d6 d5 d4 d3 d2 d1 d0 lpdp lpd lpde pndlsl[2] pndlsl[1] pndlsl[0] reserved shen 00000000 table 88. external amplifier enabler configuration bits lpdp lpd lpde pin 32 output xx0int_line 0010 0111 1011 1110 y n 0 lpd 0 1 lpdp 0 1 power b ridge f au lt int_line lpde ?i s the device in powerdown? ?
STA369BWS register description doc id 16861 rev 4 79/89 power down delay selector (pndlsl[2:0]) bits as per register misc1 (addr 0x4b) on page 76 , the assertion of pwdn activates a counter that, by default, afte r 13 million clock cycles, puts the power bridge in tristate mode independently from the fade out time. using these registers it is possible to program this counter as per the table below. short-circuit check enable (shen) bit this bit, when enabled, activates the short-circuit checks before any power bridge activation (eapd bit 0 -> 1). see section 6.17 on page 73 for more details. 6.21 global drc after b 2 drc (gdrc) bit (addr 0x4d, bit d0) gdrc bit, when set, changes the architecture configuration of the dual band drc. as a consequence, the block di agram, illustrated by the figure 19: b 2 drc scheme on page 67 , becomes that shown in figure 26 below. figure 26. global drc after b 2 drc the final effect is a global drc after the dual band drc. this architecture aims to limit the signal overshoot, generated by the different phases of the two processed data paths of the b 2 drc architecture, that could happen between the two bands. note: if gdrc is enabled, c3vr[0] and c3vr[1] must be set to 0 (default values). table 89. pndlsl bits configuration pndlsl[2] pndlsl[1] pndl sl[0] fade-out time 000default time (13 x 10 6 pll clock cycles) 001default time divided by 2 010default time divided by 4 011default time divided by 8 100default time divided by 16 101default time divided by 32 110default time divided by 64 111default time divided by 128 r l pass xo filter pass xo filter r l b 2 drc hi-pass filter b 2 drc hi-pass filter - - ch3 volume vol and limiter drc2 ch3 volume vol and limiter drc2 + + + + ch1 volume vol and limiter drc1 ch2 volume vol and limiter drc1 r l pass xo filter pass xo filter r l b 2 drc hi-pass filter b 2 drc hi-pass filter - - ch3 volume vol and limiter drc2 ch3 volume vol and limiter drc2 + + + + ch1 volume vol and limiter drc1 ch2 volume vol and limiter drc1
register description STA369BWS 80/89 doc id 16861 rev 4 6.22 bad pwm detection regist ers (addr 0x4d, 0x4e, 0x4f) STA369BWS implements a detection on pwm outputs which is able to verify if the output signal has no zero crossing in a configurable ti me window. this check is useful to detect the dc level in the pwm outputs. the checks are performed at logic level pwm so it is implemented inside the pwm modulator logic. in the case of ternary modulation, the detection threshold is computed as: th = ((bpth * 2 + 1) / 128) * 100% if the measured pwm duty cycle is detected greater or equal to th for more than bptim pwm periods, the corresponding pwm bit is set in register 0x4e. in the case of binary modulation, there are two thresholds: th1 = ((64 + bpth) / 128) * 100% th2 = ((64 - bpth) / 128) * 100% in this case, if the measured pwm duty cycle is outside the th1 to th2 range for more than bptim pwm periods, the corresponding bit is set in register 0x4e. 6.23 coefficient ram crc pr otection (addr 0x60-0x6c) 6.23.1 bqchke regist ers (addr 0x60 - 0x62) d7 d6 d5 d4 d3 d2 d1 d0 bpth[5] bpth[4] bpth[3] bpth[2] bpth[1] bpth[0] reserved gdrc 00110010 d7 d6 d5 d4 d3 d2 d1 d0 bp4b bp4a bp3b bp3a bp2b bp2a bp1b bp1a 00000000 d7 d6 d5 d4 d3 d2 d1 d0 bptim[7] bptim[6] bptim[5] bptim[4] bptim[3] bptim[2] bptim[1] bptim[0] 00000000 d7 d6 d5 d4 d3 d2 d1 d0 bqchke[7] bqchke[6] bqchke[5] bqchke[4] bqchke[3] bqchke[2] bqchke[1] bqchke[0] 00000000 d7 d6 d5 d4 d3 d2 d1 d0 bqchke[15] bqchke[14] bqchke[13] bqchke[12] bqchke[11] bqchke[10] bqchke[9] bqchke[8] 00000000 d7 d6 d5 d4 d3 d2 d1 d0 bqchke[23] bqchke[22] bqchke[21] bqchke[20] bqchke[19] bqchke[18] bqchke[17] bqchke[16] 00000000
STA369BWS register description doc id 16861 rev 4 81/89 6.23.2 xcchke regist ers (addr 0x63 - 0x65) 6.23.3 bqchkr regist ers (addr 0x66 - 0x68) 6.23.4 xcchkr regist ers (addr 0x69 - 0x6b) 6.23.5 chkctrl register (addr 0x6c) d7 d6 d5 d4 d3 d2 d1 d0 xcchke[7] xcchke[6] xcchke[5] xcchke[4 ] xcchke[3] xcchke[2] xcchke[1] xcchke[0] 00000000 d7 d6 d5 d4 d3 d2 d1 d0 xcchke[15] xcchke[14] xcchke[ 13] xcchke[12] xcchke[11] xcchke[10] xcchke[9] xcchke[8] 00000000 d7 d6 d5 d4 d3 d2 d1 d0 xcchke[23] xcchke[22] xcchke[ 21] xcchke[20] xcchke[19] xcchke[18] xcchke[17] xcchke[16] 00000000 d7 d6 d5 d4 d3 d2 d1 d0 bqchkr[7] bqchkr[6] bqchkr[5] bqchkr[4] b qchkr[3] bqchkr[2] bqchkr[1] bqchkr[0] 00000000 d7 d6 d5 d4 d3 d2 d1 d0 bqchkr[15] bqchkr[14] bqchkr[ 13] bqchkr[12] bqchkr[11] bqch kr[10] bqchkr[9] bqchkr[8] 00000000 d7 d6 d5 d4 d3 d2 d1 d0 bqchkr[23] bqchkr[22] bqchkr[ 21] bqchkr[20] bqchkr[19] bqchkr[18] bqchkr[17] bqchkr[16] 00000000 d7 d6 d5 d4 d3 d2 d1 d0 xcchkr[7] xcchkr[6] xcchkr[5] xcchkr[4] xc chkr[3] xcchkr[2] xcchkr[1] xcchkr[0] 00000000 d7 d6 d5 d4 d3 d2 d1 d0 xcchkr[15] xcchkr[14] xcchkr[13] xcchkr[12] xcchkr[11] xcchkr[10] xcchkr[9] xcchkr[8] 00000000 d7 d6 d5 d4 d3 d2 d1 d0 xcchkr[23] xcchkr[22] xcchkr[21] xcchkr[20] xcchkr[19] xcchkr[18] xcchkr[17] xcchkr[16] 00000000 d7 d6 d5 d4 d3 d2 d1 d0 xcauto xcres xccmp xcgo bcauto bcres bccmp bcgo 01000100
register description STA369BWS 82/89 doc id 16861 rev 4 6.23.6 description STA369BWS implements an automatic crc computation for the biquad and mdrc / xover coefficient memory ( ta bl e 7 1 ). ram memory cell contents from address 0x00 to 0x27 are bit xored to obtain bqchke checksum, while cells from 0x28 to 0x31 are xored to obtain the xcchke checksum. both checksum (24-bit wide) are exported on i 2 c registers from 0x60 to 0x65. the checksum computation st arts as soon as the bcgo (for biquad ram bank) or the xcgo bits (for mdrc / xover coefficients) are set to 1. the checksum is computed at the processing sample rate if ir bits equal to 01 or 10, otherwise the checksum is computed to half processing sample rate. when bccmp or xccmp are set to 1 the relative checksum (bqchke and xcchke) is continuously compared with bqchkr and xcchkr respectively. if the checksum match with its own reference value, the respective result bits (bcres and xcres) are set to 0. the compare bits have no effect if the respective go bit is not set. in case of checksum errors (that is, the internally computed didn?t match the reference), an automatic device reset action can be activated. this function is enabled when bcauto or xcauto bits are set to ?1?. the automatic reset bits have no effect if the respective compare bits are not set. the suggested procedure for automatic reset activation is the following one: 1. download coefficients set (ram locations 0x00?0x27) 2. download externally computed biquad checksum into registers bqchkr 3. enable checksum of biquad coefficients by setting bcgo bit. checksum starts to be automatically computed by STA369BWS and its value written in registers bqchke. 4. enable checksum comparison by setting bccmp bit. internally computed checksum will start to be compared wi th the reference one and re sult will be exposed on the bcres bit. following operation will be executed on each audio frame: if (bqchke == bqchkr) { bc_res = 0; } // checksum is ok, reset the error bit else { bc_res = 1; } // checksum error detected, set the error bit 5. wait until the bcres bit goes to 0, meaning checksum result bit has started to be updated and everything is ok. time out for this operation (for example, >1 ms) indicates checksum failure, mcu will handle this event. 6. enable automatic reset of the device in case of checksum error by setting the bcauto bit. the bcres bit will then be automatically che cked by STA369BWS, on each audio frame, and reset event will be trigger ed in case of checksum mismatch. 7. periodically check bcres status. a value of 1 indicates a checksum mismatch has occurred and, therefore, the device went through a reset cycle. the previous example is intended for biquad crc bank calculations, but it can be easily extended to mdrc / xover crc computation.
STA369BWS applications doc id 16861 rev 4 83/89 7 applications 7.1 applications schematic figure 27 below shows the typical applications schematic for STA369BWS. special attention has to be paid to the layout of the pcb. all the decoupling capacitors have to be placed as close as possible to the device to limit spikes on all the supplies. figure 27. applications circuit 7.2 pll filter circuit it is recommended to use the above circuit and values for the pll loop filter to achieve the best performance from the device in general applications. note that the ground of this filter circuit has to be connected to the ground of the pll without any resistive path. concerning the component values, it must be taken into account that the greater the filter bandwidth, the less is the lock time but the higher is the pll output jitter. STA369BWS
applications STA369BWS 84/89 doc id 16861 rev 4 7.3 typical output configuration figure 28 shows the typical output configuration used for btl stereo mode. please contact stmicroelectronics for other recommended output configurations. figure 28. output configuration for stereo btl mode (r l = 8 ?) 22uh 22uh 100nf 100nf 470nf 330pf 100nf 22 left 100nf 6.2 out1a out1b 6.2 22uh 22uh 100nf 100nf 470nf 330pf 100nf 22 right 100nf 6.2 out2a out2b 6.2 22uh 22uh 100nf 100nf 470nf 330pf 100nf 22 left 100nf 6.2 out1a out1b 6.2 22uh 22uh 100nf 100nf 470nf 330pf 100nf 22 left 100nf 6.2 out1a out1b 6.2 22uh 22uh 100nf 100nf 470nf 330pf 100nf 22 right 100nf 6.2 out2a out2b 6.2 22uh 22uh 100nf 100nf 470nf 330pf 100nf 22 right 100nf 6.2 out2a out2b 6.2
STA369BWS package thermal characteristics doc id 16861 rev 4 85/89 8 package thermal characteristics using a double-layer pcb the thermal resistance, junction to ambient, with 2 copper ground areas of 3 x 3 cm 2 and with 16 via holes is 24 c/w in natural air convection. the dissipated power within the device depends primarily on the supply voltage, load impedance and output modulation level. thus, the maximum estimated dissipated power for the STA369BWS is: figure 29 shows the power derating curve for the powersso-36 package on pcbs with copper areas of 2 x 2 cm 2 and 3 x 3 cm 2 . figure 29. powersso-36 power derating curve 2 x 20 w @ 8 ? , 18 v pd max is approximately 4 w 2 x 9 w + 1 x 20 w @ 4 ? , 8 ? , 18 v pd max is approximately 5 w 0 1 2 3 4 5 6 7 8 0 20 40 60 80 100 120 140 160 0 1 2 3 4 5 6 7 8 0 20 40 60 80 100 120 140 160 pd (w) tamb ( c) copper area 2x2 cm and via holes sta339bw psso36 copper area 3x3 cm and via holes 0 1 2 3 4 5 6 7 8 0 20 40 60 80 100 120 140 160 0 1 2 3 4 5 6 7 8 0 0 1 2 3 4 5 6 7 8 0 20 40 60 80 100 120 140 160 0 1 2 3 4 5 6 7 8 0 20 40 60 80 100 120 140 160 pd (w) tamb ( c) copper area 2x2 cm and via holes sta339bw psso36 copper area 3x3 cm and via holes STA369BWS powersso-36
package mechanical data STA369BWS 86/89 doc id 16861 rev 4 9 package mechanical data figure 30 shows the package outline and ta bl e 9 0 gives the dimensions. figure 30. powersso-36 epd outline drawing h x 45
STA369BWS package mechanical data doc id 16861 rev 4 87/89 in order to meet environmental requirements, st offers these devices in different grades of ecopack ? packages, depending on their level of environmental compliance. ecopack ? specifications, grade definitions and prod uct status are available at: www.st.com. ecopack ? is an st trademark. table 90. powersso-36 epd dimensions symbol dimensions in mm dimensions in inches min typ max min typ max a 2.15 - 2.47 0.085 - 0.097 a2 2.15 - 2.40 0.085 - 0.094 a1 0.00 - 0.10 0.00 - 0.004 b 0.18 - 0.36 0.007 - 0.014 c 0.23 - 0.32 0.009 - 0.013 d 10.10 - 10.50 0.398 - 0.413 e 7.40 - 7.60 0.291 - 0.299 e - 0.5 - - 0.020 - e3 - 8.5 - - 0.335 - f - 2.3 - - 0.091 - g- - 0.10 - - 0.004 h 10.10 - 10.50 0.398 - 0.413 h- - 0.40 - - 0.016 k 0 - 8 degrees 0 - 8 degrees l 0.60 - 1.00 0.024 - 0.039 m - 4.30 - - 0.169 - n - - 10 degrees - - 10 degrees o - 1.20 - - 0.047 - q - 0.80 - - 0.031 - s - 2.90 - - 0.114 - t - 3.65 - - 0.144 - u - 1.00 - - 0.039 - x 4.10 - 4.70 0.161 - 0.185 y 6.50 - 7.10 0.256 - 0.280
revision history STA369BWS 88/89 doc id 16861 rev 4 10 revision history table 91. document revision history date revision changes 11-dec-2009 1 initial release. 10-feb-2010 2 removed preliminary banner - datasheet now final 01-mar-2010 3 added rth j-amb typical value to table 4 on page 13 added section 3.6: power on/off sequence on page 17 updated biquad # in figure 7 on page 19 updated section : fault detect recovery bypass on page 28 updated sv naming in table 41 on page 36 updated cxbo description in table 61 on page 50 updated biquad # for c12hx in table 71 on page 61 updated text in sections crossover and biquad #8 , prescale and section : postscale on page 63 . 04-nov-2010 4 updated figure 3: test circuit on page 16 clarified 2-db value (by prefixing ?+?) in section 6.13.2: eq drc mode on page 68 updated storage addresses for coefficients in section : extended biquad selector on page 69
STA369BWS doc id 16861 rev 4 89/89 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. all st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a parti cular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. unless expressly approved in writing by an authorized st representative, st products are not recommended, authorized or warranted for use in milita ry, air craft, space, life saving, or life sustaining applications, nor in products or systems where failure or malfunction may result in personal injury, death, or severe property or environmental damage. st products which are not specified as "automotive grade" may only be used in automotive applications at user?s own risk. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2010 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - philippines - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of STA369BWS

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X